/books-backend-mern

MERN stack demo: Backend for books app for class demonstration

Primary LanguageJavaScript

Setup

  • clone the repository
  • run npm i to install all the npm dependencies
  • run npm start to run the server
  • go to http://localhost:5000/seed to seed some data.
  • you can change the number of books generated in the seedBooks function which is in the controller; All you need to do is pass the number of books you want as an argument.