Skip to content

pscanf/clean-architecture-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Architecture Example

Very simple todo app developed following the Clean Architecture guidelines.

How the code is organized

In the src/ directory you'll find three sub-directories:

  • core/: contains the core logic of the application. That is: entities, use-cases, and gateway interfaces
  • details/: contains the implementations of the details of the application, such as user interfaces and repositories
  • main/: contains the entrypoints of the application, where instances of the application are created using various combinations of details

How to run the app

After cloning the repository and installing dependencies with yarn, you can run:

  • yarn start:web-service to start the todo app exposed as a web service, saving todos in a local file
  • yarn start:browser-app to start the todo app exposed as a reactjs browser app, saving todos in memory
  • yarn test to run tests for the app

About

Clean Architecture TODO App in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages