Skip to content

Latest commit

 

History

History
65 lines (40 loc) · 1.32 KB

README.md

File metadata and controls

65 lines (40 loc) · 1.32 KB

Workspace: express

This is a template for an Express api with tRPC, Prisma and Clerk.

Configuration

  • Copy .env.example and rename it to .env, then change the values if needed

Setup

  • Start the database service with docker compose up -d db
  • You can run pnpm --filter express exec prisma migrate dev --name init to create the database, an initial migration and to seed data

Tasks

Turborepo

# run development server
turbo dev --filter express

# build workspace
turbo build --filter express

# run preview server
turbo preview --filter express

# lint workspace
turbo lint --filter express

# test workspace with type check
turbo test:types --filter express

Note More information about filtering: https://turborepo.org/docs/core-concepts/filtering

Prisma

# exec prisma cli (database toolkit)
pnpm --filter express exec prisma [command]

Note More information about available commands: https://www.prisma.io/docs/reference/api-reference/command-reference

Tech Stack

General

Database

Auth

Security