Simple e-commerce site build with MongoDB , Express , React and Node.
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
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
Sakil Khan
@sakilk130