Giter Club home page Giter Club logo

startwars's Introduction

Star Wars Recruitment Task

Introduction

Fork/Copy starting application from https://github.com/MaciejDonarski/Skunexus-Start-Wars-Recruitment/tree/master. At the start you have a simple application which displays planets from Star Wars in grid. Your task is to upgrade it respecting the principles from Tech Stack, Must-have (Good to have and paying attention also)

The Task

  1. Replace dummy data with dynamic data from https://swapi.dev/api/planets/
  2. Planets grid have two buttons - follow the instructions in console.logs
  3. Create another action which will redirect to Planet details page
  4. Create another action which will open modal with form* with fields:
    1. name - text
    2. rotation_period - number
    3. orbital_period - number
    4. diameter - number
    5. climate - text
    6. gravity - text
    7. terrain - dropdown
    8. surface_water - number
  5. Update Grid** component so that the display of actions is conditional
  6. Make displaying ‘Go to Films’ and ‘Go to Residents’ whether or not they exist
  7. Update Grid** component so header data will contain type of value and if it’s number align value to right in cell
  8. Create solution which allow to add two custom columns to Planets component - Residents and Films which will contain number of them. Try to do that by modify Planets component in App component and only prepare Planets component to be more customizable, in case we would like to use origin Planet component in other places

* all fields should be required and on form submit, close modal and show random success/error message (there is no endpoint)

** remember that Grid component should stay reusable. This component isn't only for Planets

Mockups

No mockups but would be great if you make that app pretty :)

Tech stack

  • react (CRA starter)
  • react-router
  • redux

Must-have

  • React & Redux
  • PropTypes
  • Reactstrap
  • Usage of react-router for multiple pages

Good to have

  • using function components (with hooks) instead of class components

Paying attention to

  • How you split code for components
  • Reusability of the components
  • Code repetitions and reusability
  • Working in accordance with good practices in general

Delivery

Delivery the application by link to public repo or zip file

startwars's People

Contributors

cescoferraro avatar maciejskunexus avatar maciejdonarski avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.