Very simple todo app developed following the Clean Architecture guidelines.
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 interfacesdetails/
: contains the implementations of the details of the application, such as user interfaces and repositoriesmain/
: contains the entrypoints of the application, where instances of the application are created using various combinations of details
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 fileyarn start:browser-app
to start the todo app exposed as a reactjs browser app, saving todos in memoryyarn test
to run tests for the app