Skip to content

sakshi-in-loops/Crud-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Crud Application

In this project, we are going to create node CRUD application with express and mongodb.

To Run this project Clone it and install modules using

npm install

Then Create config.env file and create PORT and MONGO_URI Variable and specify Value. That's it. You are ready to go. To execute this project just type

npm start

API

WhatsApp Image 2021-04-02 at 11 39 00 AM

User is allowed to Create Data, Update the data, find the data of single user or each and every user present in database, and can also delete the data.

Form for adding the user

WhatsApp Image 2021-04-02 at 11 39 00 AM (1) User can enter the details and can save it into the database using Save button WhatsApp Image 2021-04-02 at 11 53 40 AM

Data Added Successfully!

For testing API's

WhatsApp Image 2021-04-02 at 11 39 01 AM User can test the API's Using the Postman App and various commands such as PUT,GET,POST,DELETE

Saving data into MongoDB

WhatsApp Image 2021-04-02 at 11 39 00 AM (2) WhatsApp Image 2021-04-02 at 11 39 00 AM (3)

All the data entered by the user will be saved into the MongoDb database

Deleting the user

WhatsApp Image 2021-04-02 at 11 39 01 AM (1) User is being asked whether to delete the file or not WhatsApp Image 2021-04-02 at 11 39 01 AM (2) Message will be shown that the data has been deleted WhatsApp Image 2021-04-02 at 11 53 39 AM

Data deleted successfully!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published