Plantilla para una API con Typescript basada en arquitectura DDD.
This project is a starting point for you to develop a scalable web API with Node and TypeScript, and was implemented following the ideas of layered architecture, clean architecture and domain-driven design. While it contains an opinionated design and structure, it was built to be extensible and flexible, so you can modify and adapt it according to your team's needs and preferences.
- Clone the repository
- Make sure you have Docker and Docker Compose installed
- Create a
.env
file in the root directory of the project and copy the contents of the.env.sample
file into it - Run
docker-compose up -d
to start the application - Run
npm run prisma:migrate
to run the migrations - Run
npm run dev
to start the application in development mode - Enjoy 🎉