/nodejs-books-directory

Nodejs practice project. Clone from prabal-007/nodejs-books-directory

Primary LanguageJavaScript

Books Directory

A Node.js practice project cloned from prabal-007/nodejs-books-directory.

My goal is to develop a functioning REST API for a simple Books directory. The data source will be switched to a database and proper data validation will be implemented.

Instructions

  1. Clone this repo
  2. Run npm install command inside the project
  3. For development run npm run start:dev
  4. For production run npm run start

Problem Statement

The most basic project you can create using Node.js and Express.js or Nest.js is a simple REST API.

For this purpose, I’d like to suggest you build a book directory, where you would need to create endpoints, using the four most basic methods: GET, POST, PUT and DELETE.

You’d use GET for getting all books or getting only one book by id. With the POST method, you can add a new book to the list. You’d need the PUT method for updating the existing book, and it’s evident that with the DELETE method, you will remove the book from the list.

For this kind of application, you don’t have to use the database, and for the first app, you can start with data collected as a JSON file.

This project is part of Duomly Projects

This repository is used for Practicing nodejs projects mentioned in this Duomly video to refresh about Nodejs

https://youtu.be/WxsrnhjXAoc

https://dev.to/duomly/7-amazing-node-js-project-ideas-for-beginners-to-practice-your-skill-and-get-hired-217m