Skip to content

About

Blog API - ExpressJS & Mongo

Resources

Stars

0 stars

Watchers

1 watching

Forks

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_URL_DOMAIN=
PUBLIC_ASSETS=./public
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=
EMAIL_SMTP_USER=
EMAIL_SMTP_PASS=
EMAIL_FROM=
ADMIN_EMAIL=
ENV=
LOG_PATH=
JWT_SECRET=
JWT_LIFETIME=

Run

To run simply:

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

About

Blog API - ExpressJS & Mongo

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages