This repo is for getting started building a tech stack with core tools like Node.js, Hapi v17 and MongoDB with Mongoose ORM
Full tutorial that accompanies this code is available on Medium.
$ node src/utils/seed.js
$ npm run start
If you run into
dyld: lazy symbol binding failed: Symbol not found
error, then runningnpm rebuild bcrypt --build-from-source
will fix it.
We're using Mailgun because Mandrill is too expensive for what we need right now. No sense paying more than we have to for the same thing!
You'll need to add a domain to your mailgun account.
If so inclined you can generate a super secure secret key using: node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"