This is the barebones ExpressJS with Mongo database and local auth.
It's mostly from John Smilga's Udmey course with only a few minor alterations.
John Smilga's NodeJS Tutorial and Projects Course
To get this project going create a .env file and set values for the parameters below:
MONGO_URI=
PORT=
PUBLIC_URL=
PUBLIC_ASSETS=./public
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=
EMAIL_SMTP_USER=
EMAIL_SMTP_PASS=
EMAIL_FROM=
JWT_SECRET=
JWT_LIFETIME=
To run simply:
- Clone the repo
- Run "npm install"
- Run "npm start"