This is a simple e-commerce website built using the MERN (MongoDB, Express, React, Node.js) stack. The main features of this website include user authentication, product management, and CRUD (Create, Read, Update, Delete) operations.
-
User Authentication: Users can sign up and sign in to access the website's functionality.
-
Product Management: Authenticated users can create, read, update, and delete products.
-
Security: Proper authentication and authorization mechanisms are in place to ensure data security.
-
MERN Stack: The website is built using the MERN stack, providing a robust and efficient development environment.
Before you begin, ensure you have met the following requirements:
- Node.js installed on your local machine.
- MongoDB installed and running.
- A code editor such as Visual Studio Code for development.
-
Clone the repository git clone https://github.com/abhinav2-3/E-Commerce-MERN.git
-
Navigate to the project directory:
cd simple-crud-ecommerce
-
Install server dependencies: cd server npm install
-
Install client dependencies:
cd client npm install 5. Start the server: cd server npm start This will start the Node.js server.
- Start the client:
cd client npm start This will start the React front-end.
- Access the website in your browser at http://localhost:3000.
Sign up, sign in, and start managing products!
Contributing Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
Fork the project. Create your feature branch (git checkout -b feature/YourFeature). Commit your changes (git commit -m 'Add some feature'). Push to the branch (git push origin feature/YourFeature). Open a pull request. License This project is licensed under the MIT License.