Go as far as you can in the allotted time.
- Fork the repository
- Clone your forked repository
npm install && cd client; npm install
- Create a new branch
fullstack-assesment
- To start the server:
node index.js
- To start the client:
cd client; npm run start
- Create the new database model in /lib/db/models
- Decide on your own, sensible, properties.
- Wire your model into the db and application.
- Add a new route to the API for users.
- Look in /lib/api
- Complete PUT, POST, and GET endpoints
- Complete the
logRequest
middleware- Log each request path.
- Log the user’s ip address
- Add a new property to the application
- startTime - timestamp when the server started
- Modify the
getStatus
function- Add uptime - amount of time the server has been running
- Add the running applications current configuration
- Create a login/registration form.
- Register a new user.
- Login as the user.
- Display and style the server status if the user successfully logs in.
- Display an error page if unsuccessful.
Note the usage of 'proxy' in the client package.json
Once you complete the assignment, please make your repository private and invite mehranhydary
and tenthirtyone
to the repository so that your solution can be reviewed by UNICEF.