Skip to content

πŸ—‚The Starter Boiler Template For Developing with NodeJs Express TypeScript and Prisma

Notifications You must be signed in to change notification settings

ChaiyapatOam/node-ts-boiler-prisma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Node TS Express and Prisma

This Repository is a boilerplate to build a RESTful API with Express.js and Prisma using TypeScript and yarn for package management

Usage

  • To install package
yarn
  • To start development
yarn dev
  • To start production
yarn build
yarn start
  • To work with prisma
npx prisma generate
npx prisma migrate dev

Folder Structure

.
β”œβ”€β”€ πŸ“‚prisma/
β”‚ └── schema.prisma
β”œβ”€β”€ πŸ“‚src/
β”‚ β”œβ”€β”€ πŸ“‚controller/
β”‚ β”‚ └── user.controller.ts
β”‚ β”œβ”€β”€ πŸ“‚lib/
β”‚ β”‚ └── prisma.ts
β”‚ β”œβ”€β”€ πŸ“‚middleware/
β”‚ β”‚ └── auth.ts
β”‚ β”œβ”€β”€ πŸ“‚routes/
β”‚ β”‚ β”œβ”€β”€ index.ts
β”‚ β”‚ └── user.route.ts
β”‚ β”œβ”€β”€ πŸ“‚types/
β”‚ β”‚ β”œβ”€β”€ πŸ“‚express/
β”‚ β”‚ β”‚ └── index.ts
β”‚ β”‚ └── index.ts
β”‚ └── server.ts
β”œβ”€β”€ .env.example
β”œβ”€β”€ package.json
β”œβ”€β”€ yarn.lock
β”œβ”€β”€ README.md
└── tsconfig.json

About

πŸ—‚The Starter Boiler Template For Developing with NodeJs Express TypeScript and Prisma

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published