Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

catalyzt-tech/RetroPGF-Hub-Backend

Repository files navigation

Retro PGF Backend

This Repository is a boilerplate to build a RESTful API with Express.js and Prisma

Usage

  • To install package
npm install
  • To start development
npm run dev
  • To start production
npm run build
npm run 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
├── pnpm-lock.yaml
├── README.md
└── tsconfig.json