/crd_operation_nodejs

Build a REST-API based server to easily create, delete, and read data from a JSON file.

Primary LanguageJavaScript

CRD-Operation-Using-Node

Build a REST-API based server to easily create, delete, and read data from a JSON file.

Local Setup

Requirements

  • Nodejs;
  • Express;
  • NPM;
  • Chai;
  • Mochi;
  • Supertest;

Installing and running

Git:

git clone

npm install
npm start

REST API

Create Request

CRD

Read Request

CRD

Delete Request

CRD

Unit Testing

Run the following commands to start the unit test

npm test

Test Result

CRD