This is a project to evaluate prospectus employees on their knowledge of react and other FE principles.
This project was created using create react app so to get the initial app up and running should be as easy as:
Inside the root directory
- run
yarn install
- run
yarn start
Here are the mockups for this project: https://1uci4i.axshare.com/#id=5xmohz&p=login&g=1
Follow these as diligently as possible. Bonus points if you can come up with and or execute ideas to make the project responsive.
To demonstrate your ability with forms you should start by creating a basic login form on the first page. The form should be able to handle a "username" and "password" fields with their corresponding states, there should be basic validation on the fields (see mockups for basic styling). Once the form is submitted the username should be saved in a redux store.
Once the user is "authenticated" direct them to a page with a nav bar to "Home", "Interests" and "Skills". To start when you click on each of the links the nav bar should remain with the current page highlighted in some manner and the body of the page signifying what page the person is on.
On the Home page (once "logged in") make a request to the server the app is running on (should be http://localhost:3000/) and no matter what the server returns return the mock data set in fakeInterests and fakeSkills (variables can be found in dummy-data.js) The results should be stored in some type of state (whichever makes it easiest to complete all the tasks)
- Some where in the nav bar display the users username that was entered on the login page.
- On the Home page display the message "Welcome {username}" replacing username with the username the user input on the login page. Below that display all results from the requests (as represented in mockups)
- On the Skills and Interests pages display just the objects corresponding to the appropriate page.
When you click on an interest or a skill you will be routed to a page that also shows the detail attribute of that particular skill or interest (much like in the mockup).