eryzerz / nestjs-ddd

Basic REST API built with Nestjs, TypeORM, PostgreSQL, and Docker using DDD

Home Page:https://documenter.getpostman.com/view/6367350/TVeqcShB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NestJS API DDD

Description

Base application API made with NestJS, TypeORM, and PostgreSQL

Folder structure

Code organization based on NestJS modules with Domain Driven Design, focused on codebase scalability.

SOLID

Using SOLID principles to provide better code design for easier maintenance and testing.

Installation

$ npm install
$ docker-compose up -d

Running the app

# watch mode
$ npm run start:dev

Populate data

$ npm run seed:run

or

$ npx typeorm migration:run

Endpoints

Full documentation in Postman

/users
/promotions
/orders
/products
/promo-details

License

Nest is MIT licensed.

About

Basic REST API built with Nestjs, TypeORM, PostgreSQL, and Docker using DDD

https://documenter.getpostman.com/view/6367350/TVeqcShB

License:MIT License


Languages

Language:TypeScript 94.4%Language:JavaScript 5.6%