Home

Awesome

Nest Http Template

A best practice for using Prisma + Postgres, Socket.IO (Guest or authentication required) and Zod data validation. And it covers unit testing and integration testing.

Which Tech Stack In Use

Run in docker compose

  1. Copy and adjust .env.template to .env
cp .env.template .env
vim .env
docker build . -t innei/nest-http-prisma-zod
docker compose up

How to start development

pnpm run init # first time
npm run dev

Before you start dev, do not forget copy .env.template to .env

Using this template for your own project

Just tap the Fork button.

Write an service unit test

Write an route integration test

TODO

License

2023 © Innei, Released under the MIT License.

Personal Website · GitHub @Innei