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).
Although the repo is titled "FE-React-Evaluation" we thought it might be useful to add some backend tasks to help evaluate candidates who are more backend adept (or just for over achievers).
- For this part of the exercises we want the candidate to build a backend that is decoupled from the frontend application. The BE API should return data in the same sort of format as seen in dummy-data.js (same type of data)
- It should be a RESTful API
- Should at the very least have read capabilities (bonus points for a full CRUD API with a connected Database)
- Build in authentication for the API
- If you are also building out the FE demonstrate the FE integrating with the BE.
You can build the Backend with any language or framework you feel appropriate (Node.js, PHP, Java, .Net .....).
Not all the tasks listed above must be completed (such as building in an Auth layer), get as much as you can get done with the allotted amount of time, quality is better than quantity.