This is my Express + TypeScript + Prisma starter template.
- Express
- TypeScript
- Prisma
- ESLint
- Prettier
- Jest
- SuperTest
- install packages
yarn
- prisma init
yarn prisma:init
- setting .env and schema.prisma
DATABASE_URL=****************
Please refer to prisma document (Connect your database).
- prisma migrate
yarn prisma:migrate
- start server (development)
yarn dev
- test
yarn test
- build
yarn build
- start server
yarn start