Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.52 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.52 KB

full-stack-review

#Exercise-1
In the server directory, build out the the server, routes and controllers for GET, POST, and UPDATE requests (controller functions can contain console.logs to test controller routes). Use Postman to make sure your routes are working.

#Exercise-2
In your database directory, create a file called index.js and establish a connection to your mongo database using mongoose. Export the connection to the your models.js file and create the schema that you will want to use to store your todolist data.

#Exercise-3
In your database directory, create a file called mongoDBHelpers.js and build out the functionality for GET, POST, and UPDATE requests.

#Exercise-4
Use Postman to build out and test your controller functionality, using mongoDBHelpers.

#Exercise-5
In your client, create a component called App and render it the DOM.

#Exercise-6
Build out a class component called List. Inside of the component, build out functionality that will allow the user to enter a todo in an input field and send a request to your server where that data will be saved.

#Exercise-7
Inside of your List component, build out functionality that will make a get request to your database and fetch all of the todos from the list. Save those todos to an array on the client side.

#Exercise-8
Create a functional component called ListEntry and have it list out the todos stored in the array. Build functionality that will allow the user to edit/update the todo by clicking on a button.