thiagodebastos / node-clean-architecture

Example of clean architecture on NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example of clean architecture on NodeJS


Languages

Language:JavaScript 100.0%