Skip to content

Nelfimov/eshop-fullstack

Repository files navigation

Fullstack app for Eshop

A fullstack app for managing eshop.

Starting:

  1. 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'
  1. Run npm run preinstall
  2. Run npm run dev

Frontend:

Useful resources for setting up this project:

Backend: