Skip to content

NongMindHouse/susTrack-Backend

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published