Skip to content

rsgoodall/express-mongo-auth

Repository files navigation

ExpressJS with MongoDB and local auth

Intro

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

Config

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=

Run

To run simply:

  1. Clone the repo
  2. Run "npm install"
  3. Run "npm start"

About

ExpressJS with MongoDB and local auth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published