Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Starter kit for api in clean architecture using typescript to follow abstract concepts.

NotificationsYou must be signed in to change notification settings

gabolera/typescript-api-clean-arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPCLEAN



The project

Warning🚧 Under construction


This project is an start kit for api model in clean architecture using typescript to follow abstract concepts, to support any lib creating adapters and being happy 😀

Folder structures

├── src│   ├── app                       # Application logic and rules│   │   ├── entities              # Entities of data │   │   ├── respositories         # Interface for repositories│   │   └── use-cases             # Application use cases│   ├── infra                     # General components│   │   ├── core                  # Interface base for implementation on adapters│   │   │   ├── adapters          # Adapters for libs into project│   │   │   │   └── http          # Http libs adapters (Express, Koa, ...)│   │   │   ├── interfaces        # Basic interfaces of the system│   │   │   └── Route.ts          # Class for registering system routes│   │   ├── database              # Database configurations│   │   ├── routes                # Routes│   │   └── server.ts             # Starting server file│   ├── presentation              # Communication adapter between app and infra│   |   ├── controller            # All Controllers│   |   |   ├── Controller.ts     # Interface of Controller for implementations│   |   |   └── ...               # Application controllers│   |   ├── protocols             # All Controllers│   |   |   └── HttpProtocol.ts   # Http return interface that every application must respect├── .gitignore                    # Ignore file for git├── .prettierrc                   # Prettier config ├── package.json                  ├── package.lock.json            ├── README.md  └── tsconfig.json                 # Project Typescript configuration file

About

Starter kit for api in clean architecture using typescript to follow abstract concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp