This repository is created for learning and implementing the principles of clean architecture. It follows a modular structure with separate layers for application, domain, infrastructure, and presentation.
The project is organized into the following folders:
- application: Contains application-specific business logic, including use cases.
- domain: Defines the core domain entities and business rules.
- infrastructure: Houses the implementation details like databases, external APIs, and other external tools.
- presentation: Handles the user interface and communication with the external world.
- User: Represents the core entity of the application.
- CreateUser: Illustrates a simple use case for creating a new user.
- UserRepository: Manages the persistence of user-related data.
Follow these steps to get the project up and running:
- Clone the Repository:
git clone https://github.com/aravsanj/clean-architecture-ts
- Install Dependencies:
pnpm i
- Run the Application:
pnpm dev
This project is licensed under the MIT License.
Aravind Sanjeev. saravind436@gmail.com