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 install
Start the server:
npm start
open http://localhost:3000
View API docs:
open http://localhost:3000/docs
Regenerate OpenAPI Schema:
npm run generate-schema
npm start
npm test
npm run generate-schema
npm run type-check
npm run lint
npm run prettier