Skip to content

chjee/nodejs-prisma-hr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to nodejs-prisma-hr 👋

Version License: UNLICENSED

NodeJS, Express, Prisma, TypeScript, Zod, Axios를 이용한 REST API 서버

Prerequisites

  • node >=18.17.1
  • npm >=9.6.7

Install

$ npm install

Usage

# development mode
$ npm run devel

# producction mode
$ npm run start

Run tests

$ npm run test

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 file

# .env
LISTEN_PORT=8080
APP_VER=DevPC
DATABASE_URL="mysql://root:password@localhost:3306/blog?schema=public"
SUBWAY_API_URL=""
SUBWAY_API_KEY=""

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

NodeJs, Prisma, Typescript, Zod, Axios. etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •