Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/connor11528/task-app-backend
🗒️ Hapi v17 Node.js server for the task app
https://github.com/connor11528/task-app-backend
api api-server es6 hapi hapi-v17 hapijs javascript mongodb mongoose mongoosejs nodejs task-list tasklist todo todo-app todo-list todoapp todolist todolist-application todomvc
Last synced: 3 months ago
JSON representation
🗒️ Hapi v17 Node.js server for the task app
- Host: GitHub
- URL: https://github.com/connor11528/task-app-backend
- Owner: connor11528
- Created: 2018-09-19T22:06:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T21:54:42.000Z (almost 6 years ago)
- Last Synced: 2024-09-27T20:41:02.391Z (4 months ago)
- Topics: api, api-server, es6, hapi, hapi-v17, hapijs, javascript, mongodb, mongoose, mongoosejs, nodejs, task-list, tasklist, todo, todo-app, todo-list, todoapp, todolist, todolist-application, todomvc
- Language: JavaScript
- Homepage: https://medium.com/employbl/build-a-task-app-with-hapi-mongodb-and-vue-js-dc05c1bb8778
- Size: 64.5 KB
- Stars: 14
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://medium.com/employbl/build-a-task-app-with-hapi-mongodb-and-vue-js-dc05c1bb8778).
### Seed some tasks
```
$ node src/utils/seed.js
```### Start server
```
$ npm run start
```### Roadmap
- [ ] Add relationships with [mongoose-autopopulate](https://github.com/mongodb-js/mongoose-autopopulate)
- [ ] Add [jsonwebtoken](https://jwt.io/) authentication# 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](https://app.mailgun.com/app/domains/new) 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'));"`