Skip to content

mr-scrpt/medium-nest-prisma

Repository files navigation

Node/Express/Mongoose Example App

NestJS codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.


About

The project uses GRASP and SOLID patterns. There is an emphasis on the division of responsibility, layered architecture

Note

The database for the project is used in a docker container, so you will need tools to work with the docker

Download

git clone https://github.com/mr-scrpt/medium-nest-prisma.git
cd medium-nest-prisma

Install dependencies

$ yarn install

Start Postgres DB on docker container

$ docker-compose up -d

Run migration for DB

$ yarn migrate:dev

(Optional) Add seed data

$ yarn seed:dev

Running the app

# development
$ yarn start:dev

# prod mode
$ yarn run start:prod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published