ANB is an advanced node.js API boilerplate built using Express and Mongoose.
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.gitcd advanced-node-boilerplateyarn installmv .env.example .envPlease change your env variables accordingly
To seed the DB run:
yarn seedTo run:
yarn devyarn testPublic 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.