Skip to content

Repository files navigation

Feedback

A Turborepo monorepo with a NestJS API and Prisma ORM.

What's Inside

This Turborepo includes the following packages and apps:

Apps

Utilities

This Turborepo has some additional tools already setup:

Getting Started

Prerequisites

  • Node.js >= 18
  • pnpm >= 10

Installation

pnpm install

Database Setup

  1. Create a .env file in apps/api/ based on .env.example:
cp apps/api/.env.example apps/api/.env
  1. Update the DATABASE_URL in apps/api/.env with your database connection string.

  2. Generate Prisma Client:

cd apps/api
pnpm prisma:generate
  1. Run database migrations:
cd apps/api
pnpm prisma:migrate

Development

To develop all apps and packages, run:

pnpm dev

Build

To build all apps and packages, run:

pnpm build

Test

To run tests, run:

pnpm test

Lint

To lint all apps and packages, run:

pnpm lint

Project Structure

feedback/
├── apps/
│   └── api/              # NestJS API application
│       ├── src/          # Source files
│       ├── prisma/       # Prisma schema and migrations
│       └── test/         # E2E tests
├── packages/             # Shared packages
├── turbo.json            # Turborepo configuration
├── pnpm-workspace.yaml   # pnpm workspace configuration
└── package.json          # Root package.json

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages