node-ts-ddd-prisma-backend
node-ts-ddd-prisma-backend copied to clipboard
NodeJs Api with Typescript, TDD, Clean Architecture, Design Patterns and SOLID principles
Typescript DDD Boilerplate
Plantilla para una API con Typescript basada en arquitectura DDD.
🤔 What does this project consist of?
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.
🧱 Technology Stack and Requirements
🚀 Quick Start
With Docker Compose
- 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 🎉