Skip to content

sakilk130/mern-e-shop

Repository files navigation

MERN E-Shop (MongoDB, Express, React, Node)

About

Simple e-commerce site build with MongoDB , Express , React and Node.

Getting Started With API

First clone this repository.

git clone https://github.com/sakilk130/mern-e-shop.git

Install dependencies. Make sure you already have nodejs & yarn installed in your system.

yarn

Copy .env.example to .env and fill all the values.

cp .env.example .env

Typescript Compilation

yarn watch

Run the api server.

yarn api:dev

Data Import

yarn data:import

Getting Started With Client

Go to [./client] directory and Install dependencies.

yarn

After that, go back root directory

cd ..

Run the client server

yarn client

Admin Login

email: [email protected]
password: 123456

User Login

email: [email protected]
password: 123456

Built with

API

Client

Author

Sakil Khan
@sakilk130