Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 890 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 890 Bytes

Assignment 6


Setup a back end server for the previous application. This needs to be a separate application. Create CRUD APIs (REST) for user model. Store data in JSON file. Use that as source of data. UI functionality should remain same. Everything should be in TS. Use express for REST APIs. Push the code to a separate repo on github. Generate a PR for review.

Assignment 7


Setup a postgres DB for the previous application. Replace JSON with the new DB created. Push the code to the repo on github. Generate a PR for review.

Libraries Used

  • Express
  • ES6
  • nodemon for server restart
  • CORS to follow CORS policy

How to run

inside folder server run

  • npm install
  • npm run dev

inside folder client run