Note: This project has been completely rewritten. You can find the previous implementation in the legacy-version branch.
A minimalist API foundation built with modern web technologies:
- Fastify - Fast and low overhead web framework (including official plugins)
- TypeScript - Type-safe JavaScript superset
- Biome - Fast formatter and linter
- TypeBox - JSON Schema type builder with automatic Fastify validation
- Clone this repository to your local machine
- Install dependencies:
pnpm install
- Set up environment variables: Copy
.env.example
to.env.local
and update the values - Launch development server:
pnpm dev
- Open your browser to
https://localhost:[PORT]
(PORT value comes from your .env.local configuration)
pnpm run lint
- Format code and run linterpnpm run build
- Compile project using esbuildpnpm run dev
- Start development server with tsxpnpm run start
- Launch production server from dist directorypnpm run test
- Execute test suite
Planned enhancements include:
- Docker containerization support
- Enhanced request/response middleware
- Additional features based on community feedback
Feel free to submit issues or feature requests to help improve this starter template!
License This project is licensed under the MIT License - see the LICENSE file for details.