MERN-Ecommerce

Ecommerce website built with the MERN stack with React Context API for state management, pure CSS for style

Author: Le Van Quang

Install dependencies for server

npm install

Install dependencies for client

cd client —> npm install

Connect to your mongodb and add info in .env

Run the client & server with concurrently

Run project

npm run dev

cd client npm start

Run the Express server only

npm run server

Run the React client only

npm run client

Server runs on http://localhost:5000 and client on http://localhost:3000

Accounts

User: email: [email protected], password: 123456

Admin: email: [email protected], password: 123456

User interface

alt

Admin interface

alt

Cart interface

alt

GitHub

View Github