A fullstack app for managing eshop.
Starting:
- Create .env in /backend with following info:
- MONGODB_URL = 'Your url for mongo'
- JWT_SECRET = 'Secret phrase for JWT issuing'
- SALT = 'Number for salting passwords'
- ADMIN_SECRET = 'Secret phrase for creating admin user'
- HOST_URL = 'http://localhost:3001'
- CLIENT_URL = 'http://localhost:3000'
- Run
npm run preinstall
- Run
npm run dev
Useful resources for setting up this project:
- ExpressJS
- PassportJS for authentication
- Morgan for logging
- Mongoose for MongoDB