Skip to content

Node.js (Express.js + MongoDB boilerplate) for Arkenstone "arc" cli tool.

Notifications You must be signed in to change notification settings

Nebo15/arc-boilerplates-api-node

Repository files navigation

Arkenstone Node.js API Boilerplate

Node.js (Express.js + MongoDB boilerplate) for Arkenstone "arc" cli tool.

What is this?

In Nebo #15 we use use Arkenstone to confiure and deploy our projects. It's have it's cli tool called arc, and whenever you use arc init --type node.js it should use this repo as refference folder structure.

It works very similary to Yeoman generators, but doesn't have such configurability and this doesn't bring unnececary for us overhead.

Why unnececary? Because freedom to choose project structure is beatiful, but we have our very-own best practices and we are trying to follow them everywhere we can.

Quick install

See install instructions for arc cli tool.

Whats included?

  • Express.js as API framework.
  • Babel.js for ES2015 support.
  • .travis.yaml to run tests on Travis-CI.
  • JSCS, ESLint (with Babel-ESLint) and Istanbul to control code quality.
  • Mocha for tests.
  • Pre-commit hook with code quality tools and tests.
  • Vagrantfile to run pojects locally.
  • Puppet configuration for production server and Vagrant box.
  • Node.js recommended project structure.
  • A set of useful node-scipts in package.json.
  • Some other common Node.js dependencies (database drivers, http client, etc.)
  • http://nodemon.io/
  • https://github.com/node-inspector/node-inspector
  • .gitignore

About

Node.js (Express.js + MongoDB boilerplate) for Arkenstone "arc" cli tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published