1.0.0 • Published 2 years ago
express-crud-operation v1.0.0
What is this ?
This module implement CRUD operation with Express framework. This module use fs built-in module in Node js.You can create a user or read all users , read a specific user by his/her given id,update a user or delete a user. All these operations perform on a file.
Installation
npm install express-crud-operation
Usage
const crud=require('express-crud-operation')
crud
1.run the server -> node filename.js
2.create a directory -> data directory
3.in data directory , create users.json file
4.in the users.json you must have an empty array.
5.test your work with postman or rest client in vscode.
6.for example if you want create a user go to postman.your request body must have fullname key and email key.
1.0.0
2 years ago