Skip to content

kyijulie/node-express-review

Repository files navigation

node-express-review

#Start Server
npm install
npm run build
npm start

#Exercise-1
In express-server/index.js begin setting up your express server. Add a start script to your package.json that will run the server.

#Exercise-2
Build out the GET, POST, and DELETE functions in express-server index.js

#Exercise-3
Inside your express-server folder, create a file called "routes.js" and a file called "controller.js". In your index.js file, make it so that requests coming in to the endpoint "/api" are routed to your express router. Inside your router file, route those requests to your controller. Inside your controller, build functionality to check (console.log) that each endpoint is being hit.

#Exercise-4
Build out the functionality of the component such that it can handle GET, POST, and DELETE requests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published