The Baseplate Stack
Baseplate generates code using a modern, production-ready tech stack designed for speed, maintainability, and developer experience. Each component in the stack was carefully selected to work seamlessly together while providing the best foundation for your application.
Node.js with TypeScript
Section titled “Node.js with TypeScript”Baseplate uses Node.js with TypeScript to provide:
- Type safety and improved developer experience
- Modern language features (interfaces, enums, etc.)
- Enhanced code quality and reduced runtime errors
- Efficient, scalable server-side JavaScript execution
Fastify (HTTP Server)
Section titled “Fastify (HTTP Server)”Fastify powers the HTTP layer with:
- High-performance, low-overhead request handling
- Flexible plugin architecture for easy extension
- Built-in validation and serialization
- Optimized for production loads with minimal resource usage
PostgreSQL (Database)
Section titled “PostgreSQL (Database)”PostgreSQL provides a reliable, feature-rich database with:
- ACID compliance and data integrity
- Advanced data types (JSON, geometry, etc.)
- Robust indexing and query optimization
- Proven scalability for growing applications
Prisma (ORM)
Section titled “Prisma (ORM)”Prisma simplifies database interactions through:
- Type-safe database queries with automatic TypeScript types
- Intuitive schema definition language
- Seamless migrations and schema versioning
- Developer-friendly tooling and IDE integration
GraphQL Yoga & Pothos
Section titled “GraphQL Yoga & Pothos”The API layer uses GraphQL Yoga and Pothos to provide:
- Type-safe GraphQL schema building
- Efficient query resolution and data fetching
- Extensible plugin system for custom functionality
- First-class TypeScript integration throughout