Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 2.31 KB

README.md

File metadata and controls

63 lines (45 loc) · 2.31 KB

Learning myself some clean architecture

clean

Roadmap

  • connect to db
  • query db and return results
  • session management
  • authentication
  • authorisation

Database Management

Structure

├── 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

Resources