Skip to content

About

An advanced Node.js & mongoose API boilerplate

Resources

Stars

2 stars

Watchers

3 watching

Forks

Repository files navigation

Build Status

Advanced Node.js Boilerplate

ANB is an advanced node.js API boilerplate built using Express and Mongoose.

Installation

Please make sure that you have a running Mongodb also Yarn, Jest, Eslint and Nodemon globally installed.

git clone https://github.com/afituri/advanced-node-boilerplate.git
cd advanced-node-boilerplate
yarn install
mv .env.example .env

Please change your env variables accordingly

Usage

To seed the DB run:

yarn seed

To run:

yarn dev

Testing

yarn test

Features

Public endpoints:

  • Register new user via POST /auth/register
  • Login a user via POST /auth/login
  • Resend a verification pin via POST /auth/resend
  • Verify a new registered user via POST /auth/verify

Protected endpoints:

  • List users via GET /users

Any contribution to this project of any kind is welcome.

About

An advanced Node.js & mongoose API boilerplate

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages