This is a template for an Express api with tRPC, Prisma and Clerk.
- Copy
.env.exampleand rename it to.env, then change the values if needed
- Start the database service with
docker compose up -d db - You can run
pnpm --filter express exec prisma migrate dev --name initto create the database, an initial migration and to seed data
# 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 expressNote More information about filtering: https://turborepo.org/docs/core-concepts/filtering
# 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