Architektur - e-Learning-by-SSE/nm-self-learning GitHub Wiki

Development Structure

  • We use package-by-feature naming for libs and directories.

Libraries

libs/
├── data-access
│   ├── api
│   ├── api-client
│   └── database
│       ├── prisma
├── feature
│   ├── admin
│   ├── completion
│   ├── enrollment
│   ├── lesson
│   ├── question-types
│   ├── quiz
│   └── teaching
├── ui
│   ├── common
│   ├── course
│   ├── forms
│   ├── layouts
│   └── lesson
└── util
    ├── common
    ├── http
    ├── markdown
    ├── testing
    └── types

data-access

Defines data access and api clients.

feature

Non-reusable components. Feature specific

ui

Jede reusable component. Typically uncontrolled component but not directly specified.

util

Reusable helpers.