AniMart is an e-commerce platform designed and developed by Anish Ghosh. It provides a user-friendly interface for both buyers and sellers to interact and conduct transactions smoothly. This repository contains the source code for the AniMart platform.
- User Authentication: Secure user authentication system for both buyers and sellers.
- Product Management: Sellers can easily add, edit, and delete products from their inventory.
- Shopping Cart: Buyers can add products to their cart and proceed to checkout for purchasing.
- Order Management: Buyers can view their order history and track the status of their orders.
- Search and Filter: Users can search for products and filter them based on various criteria.
- Responsive Design: The platform is designed to work seamlessly across different devices and screen sizes.
- Frontend: HTML, CSS, JavaScript, React.js
- Backend: Node.js, Express.js, MongoDB
- Authentication: JSON Web Tokens (JWT)
- Database: MongoDB Atlas (Cloud-hosted MongoDB)
- Deployment: Heroku
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/anish-ghosh/AniMart.git
-
Navigate to the project directory:
cd AniMart
-
Install dependencies for both frontend and backend:
cd client && npm install
cd ../server && npm install
-
Set up environment variables:
Create a
.env
file in theserver
directory and define the following variables:PORT=3001 MONGODB_URI=<your_mongodb_uri> SECRET_KEY=<your_secret_key>
-
Run the backend server:
npm start
-
Run the frontend:
Open a new terminal and navigate to the
client
directory:cd ../client && npm start
-
Access the application in your browser:
Open http://localhost:3000 to view it in the browser.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
AniMart was developed as a personal project by Anish Ghosh. Special thanks to the developers of the libraries and frameworks used in this project, as well as the open-source community for their valuable contributions.