Express.js + Postgresql + Prisma + Typescript Starter Kit
Express.js + Postgresql + Prisma + Typescript Starter Kit
A starter kit for creating Express.js projects for Rest API.
Description
This starter kit provides a template for creating Express.js projects with Rest API as the API layer.
Installation
npm install
Running the app
# development
npm run start:dev
# production mode
npm run start:prod
Migrations
# Create new Migration
npx prisma migrate dev --name migration_name
# Run Migrations
npx prisma migrate deploy
# Generate Schemas
npx prisma generate
Seed
# Run the seed
npx prisma db seed
# Reinitialize the database with seed data.
npx prisma migrate reset
Test
# unit tests
npm run test
Stay in touch
- Author - LuchoBazz
- Twitter - @LuchoBazz
License
This project is licensed under the MIT licensed. See the LICENSE file for details.