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
.envfile in the root directory of the project and copy the contents of the.env.samplefile into it - Run
docker-compose up -dto start the application - Run
npm run prisma:migrateto run the migrations - Run
npm run devto start the application in development mode - Enjoy 🎉