express-objection-starter
an opinionated, production-ready express/knex/objection starter
Last updated a month ago by janejeon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install express-objection-starter 
SYNC missed versions from official npm registry.

Express Objection starter

CircleCI codecov Maintainability npm npm install size David Known Vulnerabilities Dependabot Status NPM Docs Docs JavaScript Style Guide

While node.js makes it easy to hack together an express server quickly, it's hard to actually build a production-ready, secure, scalable solution. Furthermore, when building a web app that has a backend and a frontend component, you end up having to repeat almost all of the logic.

Thus, based on my experience building production-level systems, I built a comprehensive express.js template with:

  • a centralized hierarchical configuration system that can be easily overwritten
  • sensible defaults that can suit any production environment - PaaS, containers, behind proxy/CDN, etc, with support for production logging and distributed tracing
  • a proper ORM and query builder (Objection.js + knex) to allow working with relational databases in an ergonomic way
  • extensible relational models with tons of features (e.g. validation and pagination) baked-in
  • secure authentication system with Active Session management features
  • fine-grained role-based authorization to control access down to the field level, that seamlessly integrates with the query builder
  • a scalable, fault-tolerant queuing system that takes advantage of multi-core CPUs
  • fully-loaded development environment with automated testing/migration/dependencies/linting via git & npm hooks, development-purpose mail server, and even automatic type generation!

To get started, check out the documentation for more details!

Current Tags

  • 0.9.3                                ...           latest (a month ago)

23 Versions

  • 0.9.3                                ...           a month ago
  • 0.9.2                                ...           a month ago
  • 0.9.1                                ...           a month ago
  • 0.9.0                                ...           a month ago
  • 0.8.4                                ...           a month ago
  • 0.8.3                                ...           a month ago
  • 0.8.2                                ...           a month ago
  • 0.8.1                                ...           a month ago
  • 0.8.0                                ...           a month ago
  • 0.7.0                                ...           2 months ago
  • 0.5.6                                ...           2 months ago
  • 0.5.5                                ...           2 months ago
  • 0.5.4                                ...           2 months ago
  • 0.5.3                                ...           2 months ago
  • 0.5.2                                ...           2 months ago
  • 0.5.1                                ...           2 months ago
  • 0.5.0                                ...           2 months ago
  • 0.4.2                                ...           2 months ago
  • 0.4.1                                ...           3 months ago
  • 0.4.0                                ...           3 months ago
  • 0.2.0                                ...           4 months ago
  • 0.1.0                                ...           5 months ago
  • 0.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 146
Dependencies (52)
Dev Dependencies (23)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |