Skip to content

Code sample for Biobot interview - Kit filtering demo

Notifications You must be signed in to change notification settings

nik-tripp/stunning-engine

Repository files navigation

Search for Kits

Created with "yarn create next-app" See https://trpc.io/docs/example-apps

Start project

Set postgres user/password in .env (if necessary), then install node dependencies and launch application

yarn
yarn dx

Commands

yarn build      # runs `prisma generate` + `prisma migrate` + `next build`
yarn db-reset   # resets local db
yarn dev        # starts next.js
yarn dx         # starts postgres db + runs migrations + seeds + starts next.js
yarn test-dev   # runs e2e tests on dev
yarn test-start # runs e2e tests on `next start` - build required before
yarn test:unit  # runs normal Vitest unit tests
yarn test:e2e   # runs e2e tests

Files of note

Path Description
./prisma/schema.prisma Prisma schema
./src/pages/api/trpc/[trpc].ts tRPC response handler
./src/server/routers Your app's different tRPC-routers

About

Code sample for Biobot interview - Kit filtering demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published