This is a simple CRUD (Create, Read, Update, Delete) application built using React for the frontend, Node.js for the backend, and MongoDB for database storage. The application allows you to store and manage information such as name and email in a MongoDB database.
Follow the steps below to set up and run the project locally.
Make sure you have the following installed on your machine:
- Node.js
- npm
- MongoDB
- Clone the repository to your local machine.
git clone https://github.com/your-username/your-repository.git
- Navigate to the project directory.
cd your-repository
- Install dependencies for both frontend and backend.
cd client
npm install
- Install backend dependencies
cd ../server
npm install
- Set up the MongoDB database.
Make sure MongoDB is running on your machine. Create a .env file in the server directory and provide the MongoDB connection URL.
MONGODB_URI=your_mongodb_connection_url
- Running the Application