- apps
- api: NestJS + graphql + graphql-query + vitest + Neon Postgres DB
- docs: NextJs + Nextra
- web: NextJs + ReactQuery + vitest
- packages:
- ui: TailwindCss + DaisyCss
pnpm i
This is a TurboRepo repository, to target an app or package script command you must use
pnpm --filter=my-package-name my-command
Useful documentations:
- NestJS
- Nestjs Query (graphql filtering and pagination)
- TypeORM
- Neon DB (serveless postgres database)
Commands prefix: pnpm --filter=api
Command | Description |
---|---|
start:dev |
Run in dev mode |
start:repl |
REPL |
build |
Build for production |
start:prod |
Run in production mode |
test |
Run unit tests |
test:cov |
Run unit tests with coverage |
test:watch |
Run unit tests in watch mode |
test:e2e |
Run e2e tests |
gen:types |
Generate TS types for graphql-request used in web |
pnpm --filter=api start:dev
- GraphQL playground:
http://localhost:3001/graphql
pnpm --filter=api start:repl
then in the terminal get(SeedService).seed()
The seed service is located in apps/api/src/db/seed.service.ts