This repository contains the code for my ecommerce website, built with VanillaJs, NodeJs and ExpressJs.
git clone https://github.com/thewebplug/Jumanji-online-store
cd Jumanji-online-store
- Download and Install from mongodb.com
- Create.env file in project folder
- Enter these lines to that:
MONGODB_URL=mongodb://localhost/jumanji
JWT_SECRET="something secret"
PAYSTACK_PUBLIC_KEY="your paystack public key"
PAYSTACK_SECRET_KEY="your paystack secret key"
$ npm install
$ npm run build
$ npm run start
#open new terminal
$ cd frontend
$ npm install
$ npm start
- Run this in your browser: http://localhost:5000/api/users/createadmin
- Note the admin email and password