A modern, production-ready full-stack TypeScript monorepo template using Bun as the JavaScript runtime. This template provides a solid foundation for building scalable web applications with a React frontend and Hono backend.
- Monorepo Structure using Bun's built-in workspaces
- Frontend: React + Vite + TypeScript
- Backend: Hono + Prisma + TypeScript
- Shared Package: Common types and utilities
- Docker Support: Production-ready Docker configuration
- Development Tools: ESLint, TypeScript strict mode
- Production-Ready: Nginx configuration with security headers
- Database: MongoDB support via Prisma
- Bun - Fast all-in-one JavaScript runtime
- React - Frontend UI library
- Vite - Frontend build tool
- Hono - Backend framework
- Prisma - Database ORM
- TypeScript - Type safety
- Docker - Containerization
- Nginx - Web server and reverse proxy
- Bun installed on your machine
- Docker (optional, for containerized deployment) !!!need install locally!!!
- MongoDB instance (local or remote)
The template includes:
- Secure Nginx configuration
- HTTP security headers
- CORS protection
- Production-ready Docker setup
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request