Skip to content

joseantoniocampillo/task-app-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'));"

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%