Provides a quick-start Node.js app with some common default tooling:
- Vite: Frontend Tooling
- Vitest: Testing
- TSX: Run TypeScript everywhere, and reload code when things change
- Fastify: Node HTTP server, with excellent support for typed APIs
- Fastify-Swagger: Generate OpenAPI-compliant API definitions
- OpenAPI-Fetch: Connects your type-safe server API to the client for end-to-end support
- Husky/Lint-Staged: Git precommit hooks
- @testing-library/react
- ESLint
- Prettier
Install all dependencies:
npm installStart the server:
npm start
open http://localhost:3000View API docs:
open http://localhost:3000/docsRegenerate OpenAPI Schema:
npm run generate-schemanpm startnpm testnpm run generate-schemanpm run type-checknpm run lintnpm run prettier