Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

rvieceli/express-template

Repository files navigation

Base template to start a new express api application

Complete user workflow

  • create user
  • activation user
  • forgot password
  • reset password
  • session to login and auth middleware
  • Bull jobs
  • nodemailer with handlebars template
  • body validation with Yup
  • param validation using middleware
  • all tested, except send mail (i'm learning about that)

How to use

$ git clone https://github.com/rvieceli/express-template.git awesome_project
$ cd awesome_project
$ yarn
$ yarn test --forceExit

How to start your new awesome project

  • create .env file on start path project (looks .env.example)

    • APP_SECRET requires 256-bit key for production, for development use anything, but not empty
    • database default and recomended is Postgres
    • mongodb is not yet exemplified in this template
    • redis is used to queue job
    • mail is send to confirmation account and reset password
  • let's code!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published