This is a MERN (MongoDB, Express.js, React.js, Node.js) stack project that allows users to perform CRUD (Create, Read, Update, Delete) operations on a collection of items. The project also includes features such as user registration, login, sorting, searching, and pagination.
- MongoDB: A NoSQL database used to store data.
- Express.js: A web application framework used to build the backend API.
- React.js: A frontend library used to build the user interface.
- Node.js: A JavaScript runtime used to run the backend server.
- Bootstrap: A CSS framework used for styling the frontend.
- JWT: JSON Web Tokens used for authentication.
-
Clone the repository:
git clone https://github.com/your-username/your-project.git
-
Navigate into the project directory:
cd your-project
-
Install the dependencies:
npm install
-
Create a .env file in the root directory and add the following environment variables:
NODE_ENV=development
PORT=5000
MONGO_URI=<your-mongodb-uri>
JWT_SECRET=<your-secret-key>
- Start the server:
npm run dev
Contributions are always welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch (git checkout -b feature/your-feature)
- Make your changes
- Commit your changes (git commit -m "Add your commit message here")
- Push to the branch (git push origin feature/your-feature)
- Create a pull request