prisma-hono-generator
v0.2.3
Published
> **⚠️ Work In Progress**: This project is under active development and not ready for production use. We welcome contributors!
Maintainers
Readme
Prisma Hono Generator 🚀
⚠️ Work In Progress: This project is under active development and not ready for production use. We welcome contributors!
Generate type-safe Hono API routes from your Prisma schema automatically. This generator creates CRUD endpoints with proper validation, error handling, and documentation out of the box.
Vision ✨
- 🔄 Complete CRUD route generation from Prisma schema
- 🛡️ Type-safe request/response handling with Zod
- 📝 OpenAPI/Swagger documentation
- ⚡ Edge-ready (works with Vercel Edge, Cloudflare Workers)
- 🔍 Query parameter support
- 🚨 Built-in error handling
Project Status 🏗️
This project is in early development. Check our Project Board to see what we're working on.
Current Focus
- [ ] Basic CRUD route generation
- [ ] Core validation system
- [ ] Error handling framework
- [ ] Initial documentation
Contributing 🤝
We're actively looking for contributors! Whether you're interested in coding, documentation, or testing, there's room for you to make an impact.
Prerequisites
- Node.js >= 16
- npm >= 7
- Basic knowledge of TypeScript, Prisma, and Hono
Getting Started
Fork & Clone
git clone https://github.com/your-username/prisma-hono-generator cd prisma-hono-generator
Install Dependencies
npm install
Start Development
npm run dev
Project Structure
prisma-hono-generator/
├── src/
│ ├── generator/ # Core generator logic
│ ├── templates/ # Route templates
│ └── utils/ # Helper functions
├── examples/ # Example projects
├── tests/ # Test suite
└── docs/ # Documentation
Development Workflow
- 📋 Check Issues for tasks or create a new one
- 🔍 Read our Contributing Guide for code standards
- ✅ Write tests for your changes
- 💻 Make your changes
- 🧪 Ensure tests pass (
npm test
) - 📚 Update documentation if needed
- 🚀 Submit a PR
Available Commands
npm run dev
- Start development servernpm run build
- Build for productionnpm run test
- Run testsnpm run lint
- Run linternpm run format
- Format code
Communication 💬
- 💡 Discussions - For ideas and general questions
- 🐛 Issues - For bugs and feature requests
- 💬 Discord - For real-time discussion
Roadmap 🗺️
See our detailed Roadmap for planned features and milestones.
Next Major Milestones
Alpha Release
- Basic CRUD operations
- Simple validation
- Basic error handling
Beta Release
- OpenAPI documentation
- Advanced filtering
- Relationship handling
1.0 Release
- Production-ready features
- Complete documentation
- Comprehensive test coverage
License 📄
MIT © [Your Organization]
Want to Contribute?
We're looking for help with:
- 🧪 Testing infrastructure
- 📚 Documentation improvements
- 💻 Core functionality development
- 🎨 Example projects
- 🌐 Website development
Join our community and help build something awesome!
Commit Message Convention
This project follows Conventional Commits:
feat: add new feature
- New features (minor version)fix: resolve bug
- Bug fixes (patch version)docs: update readme
- Documentation only changesstyle: format code
- Changes that don't affect code meaningrefactor: improve code
- Code changes that neither fix bugs nor add featuresperf: improve performance
- Performance improvementstest: add tests
- Adding or updating testschore: update deps
- Changes to build process or auxiliary toolsBREAKING CHANGE: description
- Breaking API changes (major version)
Example with breaking change: