NestJS, GraphQL, Prisma, MySQL, Typescript를 이용한 BLOG API
- node >=18.17.1
- npm >=9.6.7
$ npm install# development mode
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# unit tests (watch mode)
$ npm run test:watch
# unit tests (code coverage)
$ npm run test:cov
# e2e tests
$ npm run test:e2e# generate prisma client
$ npm run generate
# generate prisma migration
$ npx prisma migrate dev --name init
# reset database
$ npx prisma migrate reset --force
# generate prisma schema
$ npx prisma generate# .env
PORT=3000
DATABASE_URL="mysql://root:password@localhost:3306/blog?schema=public"
JWT_SECRET=MDBjMWJlMzc4M2JhNGExY2FmNTRkZmU0NjlhNTRjYmY=👤 Changhoon Jee chjee71@gmail.com
- Github: @chjee
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator