Skip to content

AnGeMoNs/Ecommerce-React-Mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

comercio Screenshot_8 Screenshot_9 Screenshot_10

Installation

  1. Clone the repository:

    git clone https://github.com/AnGeMoNs/Ecommerce-React-Mysql.git
    cd Ecommerce-React-Mysql
  2. Install backend dependencies:

    cd backend
    npm install
  3. Install frontend dependencies:

    cd ../frontend
    npm install
  4. Configure the .env file in the backend

    Update the .env file in the backend directory with your database configuration and other environment variables.

  5. Execute the migrations and seeders:

    npx sequelize-cli db:migrate
    npx sequelize-cli db:seed:all
  6. Start the server:

    • Run backend:

      cd backend
      npm run dev
    • Run frontend:

      cd frontend
      npm start