- connect to db
- query db and return results
- session management
- authentication
- authorisation
- postgresql
- knex query builder
├── config # env vars etc
├── contacts # contacts module
│ ├── contact-list.js # contact repository
│ ├── contact.js # contact factory
│ ├── contacts-endpoint.js # contacts service
│ └── index.js
├── data # database migrations and seed
├── db # database adapter
├── helpers # helper/utility methods
├── README.md
├── index.js # server entry point
├── knexfile.js