CRUD Application using MERN Stack | React Js, NodeJs, Express Js and mongodb

Created By: Admin Created At: 06-10-2023
crud app
Watch Full video

1. Features of the project:

  1. Crud application which consists of four operations: create, read, update, and delete.

  2. Create a new user and store the MongoDB database.

  3. Read all created user data from the MongoDB database.

  4. Update user information that is already stored in the database.

  5. And last one is that delete the user from the database.

2. Steps to run the project:

a) Installation process:

  1. Install node js if you haven’t installed it.

  2. Go to the client folder in your root project.

  3. Install axios, react-router-dom, react-hot-toast react packages.

  4. Now go to the server folder in your root project.

  5. Install express, mongoose, body-parser, dotenv, and cors node packages.

b) .env file setup process:

  1. Login MongoDB database and create a username and password for your project.

  2. Go to the server folder, .env file, and change the username and password in the MongoDB connection string.

c) Run the project:

Now run both servers by using the command npm start