This project is an e-commerce platform where users can view, search, add products to their cart, and add them to favorites. The project also includes an admin panel where admin can manage products.
Note: This project is still under development.
To run the project locally, follow these steps:
- Node.js (>=14.0.0)
- npm or yarn
-
Clone the repository:
git clone https://github.com/berkanserbes/e-commerce-project.git cd ./e-commerce-project code .
-
Setup Environment Variables
cd ./backend Create an .env file
This file should include environment variables like MongoDB connection strings, secret keys, and port number.
-
Start the applications
- Backend
cd ./backend npm install npm run dev
- Frontend
cd ./frontend npm install npm run dev
If you'd like to contribute, please follow these steps:
- Fork this repository.
- Create a new branch: git checkout -b feature/feature-name.
- Make your changes and commit them: git commit -m 'Add new feature'.
- Push to the branch: git push origin feature/feature-name.
- Open a pull request.