- Website: titanbornes.com
- Twitter: @titanbornes
- Discord: discord.gg/titanbornes
$ npm install
$ npm run server
Then head over to localhost:5000 to see the dashboard live!
The page will reload if you make edits.
You will also see any lint errors in the console.
{"mode":"full","isActive":false}
Create a .env file in then root and add the following
NODE_ENV = development
PORT = 5000
MONGO_URI = your mongodb uri
JWT_SECRET = 'abc123'
You can use the following commands to seed the database with some sample users and products as well as destroy all data
# Import data
npm run data:import
# Destroy data
npm run data:destroy
Sample User Logins
[email protected] (Admin)
123456
[email protected] (Customer)
123456
[email protected] (Customer)
123456