Realworld: hapi pal

Created on 27 Jun 2018  路  10Comments  路  Source: gothinkster/realworld

Working on a backend implementation using hapi pal, a suite of tooling and methodologies for building nodejs web services with hapijs. The model layer is based upon Objection ORM.

Track progress here! https://github.com/devinivy/hapipal-realworld-example-app

  • [x] Fork the starter repo & post the link in this issue
  • [x] Create logo for repo & update issue status
  • [x] Implement all of Conduit's functionality per the spec & API
  • [x] Move repo to main org & Peer review final codebase
  • [x] Tag v1 release and officially list it on the README
backend wip

All 10 comments

I still need to write the readme, but this is essentially ready for review. Here's all you need to know to get started,

  • Deployment and configuration is contained in server/. You must cp server/.env-keep server/.env then set an APP_SECRET in there, used for generating JWTs.
  • Application code is contained in lib/.
  • It runs under sqlite3, which is installed during npm install.
  • The database is keyed off of the NODE_ENV, and persisted to the filesystem at .{env}.db within the project's root directory. So NODE_ENV=production is persisted to .production.db, NODE_ENV=development to .development.db, and a missing NODE_ENV to .default.db.
  • npm test runs tests and npm start runs the server.

This really oughtta be good to go鈥擨 would love a review! There is now a fairly extensive explainer in the readme: https://github.com/devinivy/hapipal-realworld-example-app

@Cameron-C-Chapman just a light ping! Let me know if there's anything I can do to help aid the reviewing process 鈽猴笍

Trying to get to it soon @devinivy, sorry for the delay 馃槵The repo looks great, I just need to run it locally and take a look. I'll try to get to it this week at some point.

No sweat at all鈥攖hanks for the update!

@devinivy would you mind adding this to TravisCI? Thanks!

@anishkny should be all set now 馃憣

@anishkny @Cameron-C-Chapman is there any action I need to take here?

I tried it out locally and looks good to me. Great work! @devinivy

Cheers, and thanks for the review!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hassanbazzi picture hassanbazzi  路  6Comments

roman01la picture roman01la  路  6Comments

Julian-B90 picture Julian-B90  路  5Comments

EricSimons picture EricSimons  路  6Comments

EricSimons picture EricSimons  路  7Comments