Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/catalint/nodejs

Guide on creating node.js apis
https://github.com/catalint/nodejs

Last synced: about 1 month ago
JSON representation

Guide on creating node.js apis

Awesome Lists containing this project

README

        

# nodejs
Guide on creating node.js apis

Read about
==========

Code Style
----------
* https://github.com/airbnb/javascript
* http://www.themarketingtechnologist.co/how-to-get-airbnbs-javascript-code-style-working-in-webstorm/
* https://www.npmjs.com/package/eslint
* https://babeljs.io/docs/usage/require/

Framework
---------
* http://hapijs.com/
* https://www.npmjs.com/package/hapi-swagger

Authentification & permissions
----------------
* https://github.com/hapijs/bell (google,fb,twitter,yahoo,microsoft & many others)
* https://blog.andyet.com/2015/06/16/harnessing-hapi-scopes/

Getting ready for production
----------------------------
* https://docs.npmjs.com/cli/shrinkwrap

Other remarks
-------------
* Never use `global.`
* Never set/modify `process.env`

Other ideas to look into
--------------------
* https://github.com/gergoerdosi/nesive-hapi-json-view