Skip to content

thiagodebastos/node-clean-architecture

Repository files navigation

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