Skip to content

chjee/nestjs-prisma-hr

Repository files navigation

Welcome to nestjs-prisma-hr 👋

Version License: UNLICENSED

NestJS, Prisma, MySQL, Typescript를 이용한 REST API

Prerequisites

  • node >=18.17.1
  • npm >=9.6.7

Install

$ npm install

Usage

# development mode
$ npm run start:dev

# production mode
$ npm run start:prod

Other commands

# generate prisma client
$ npx prisma generate

# generate prisma migration
$ npx prisma migrate dev --name init

# reset prisma migration
$ npx prisma migrate reset

# execute database seed
$ npx prisma db seed --preview-feature

.env configuration

DATABASE_URL="mysql://username:password@localhost:3306/hr?schema=public"

Author

👤 Changhoon Jee chjee71@gmail.com

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

NestJs, Prisma, Typescript, Zod, Swagger,. etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors