Skip to content

ritesh404/node-service-template

Repository files navigation

Template

Template to create a node service

  • Connect to postgress DB
  • Prisma for ORM and migrations
  • Logging via winston

run following command to initiate migrations once a schema is setup

prisma migrate dev --name init

Access prisma studio

npx prisma studio

Build using docker

docker build  -t <tag-name> .

Run docker image

docker run --env-file .env -p <host-port>:<internal-port>  -t <tag-name>

About

Template for a node service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors