Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.13 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.13 KB

Task app with Hapi and MongoDB

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.

Seed some tasks

$ node src/utils/seed.js

Start server

$ npm run start

Roadmap

Tutorial notes

If you run into dyld: lazy symbol binding failed: Symbol not found error, then running npm 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'));"