{"repo":"theogravity/bun-fastify-starter-turbo-monorepo","free":true,"listed":false,"github":"https://github.com/theogravity/bun-fastify-starter-turbo-monorepo","clone":"git clone https://github.com/theogravity/bun-fastify-starter-turbo-monorepo.git","description":"A starter project for building an API service using Fastify v5, kysely / postgres, turbo, and bun with sample tests and OpenAPI endpoint / database generators to help you build quickly","language":"TypeScript","stars":21,"topics":["fastify","kysely","monorepo","postgres","typescript","testcontainers","vitest","api","openapi","rest-api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Bun Fastify Turbo Monorepo Starter A starter project for building an API server using Bun , Typescript, Fastify v5, and Kysely with Postgres. This project uses Bun as its runtime and package manager. Bun provides faster installs, native TypeScript execution, and improved performance over Node.js. Requirements - Bun = 1.0.0 - Docker (for local Postgres and testing) Features - Bun-powered - Uses Bun for package management, script execution, and runtime. - Fastify v5 with Typescript. - Monorepo setup using turbo and Bun workspaces. - Outputs OpenAPI schema for the API and has a web UI for viewing it. - A sample REST test is included using Vitest. - Sample database migrations / repositories are included using Kysely. - An client SDK package is included to generate typescript client code from the API schema. - An error handler package is included to handle errors and return a consistent response. - Code generators using turbo gen to create new API endpoints and database tables. Libraries and tools used - typescript - bun for package management and runtime - commitlint for commit message linting - turbo for monorepo management - fastify for the API server framework - hash-runner for caching builds - kysely for the database query builder - postgres + pgAdmin for the database - testcontainers for testing with a sandboxed postgres instance - vitest for endpoint testing - loglayer for formatted logging - biome for linting and formatting - syncpack for keeping package versions in sync -","default_branch":null,"files":null,"tree":[],"storefront":"/r/theogravity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/theogravity/bun-fastify-starter-turbo-monorepo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}