Skip to content

berkanserbes/ecommerce-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce Project

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.

Setup

To run the project locally, follow these steps:

Requirements

  • Node.js (>=14.0.0)
  • npm or yarn

Steps

  1. Clone the repository:

    git clone https://github.com/berkanserbes/e-commerce-project.git
    cd ./e-commerce-project
    code .
  2. Setup Environment Variables

    cd ./backend
    Create an .env file  
    

    This file should include environment variables like MongoDB connection strings, secret keys, and port number.

  3. Start the applications

    • Backend
    cd ./backend
    npm install
    npm run dev
    
    • Frontend
    cd ./frontend
    npm install
    npm run dev
    

Contributing

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.