๐๏ธ Generate Framework Code Through Templates: Automatically generate framework code from description files (api โ api framework code, proto โ proto framework code, sql/remote database address โ model code)
๐ค Generate Business Code Through Agent Skills: Built-in jzero-skills enables AI to generate business logic code that follows best practices
Core Value and Design Philosophy:
โ Development Experience First: Provides a simple, easy-to-use, production-ready solution, one-click initialize api/rpc/gateway projects, minimalist commands to generate basic framework code
โ AI Empowered: Built-in jzero-skills enables AI to generate business logic code following best practices
โ Template Driven: Default generation follows best practices, supports custom templates, can build enterprise-specific infrastructure based on remote template repositories
โ Plugin Architecture: Modular layering, plugin design, smoother team collaboration
โ Built-in Development Components: Includes common tools like cache, database migration (migrate), configuration center (configcenter), database query (condition)
โ Ecosystem Compatible: Does not modify go-zero, maintains ecosystem compatibility, solves existing pain points and extends new features
โ Flexible Interface: Does not depend on specific database/cache/configuration center, can be freely chosen according to actual needs
Vercel Platform Advantages
โ Zero Configuration Deployment: Deploy directly from Git repository without additional configuration, no need for your own server, no CI/CD process required
โ Global Edge Network: Leverage Vercel's global infrastructure to deploy Go functions to edge nodes closest to users, achieving millisecond-level response
โ Free Domain and HTTPS: Automatically get .vercel.app production-grade domain, built-in CDN acceleration and SSL certificates
โ Preview Environment: Automatically generate independent preview URL for each PR commit
๐ก Core Value: jzero deeply integrates with Vercel ecosystem, letting Go developers enjoy frontend-level deployment experience! Automatically generate serverless functions that comply with Vercel specifications through .api definition, no need to deploy to your own server.
jzero provides a project template optimized for Vercel ecosystem, the generated code structure fully complies with Vercel platform specifications:
# Install jzerogo install github.com/jzero-io/jzero@latest# Install related toolsjzero checkgo install github.com/jzero-io/gorename@latest# Create new Vercel serverless project from remote templatejzero new jzero-api-vercel-example --remote https://github.com/jzero-io/templates --branch api-vercel# Add new apijzero add api test# Generate codejzero gen
Project Structure:
jzero-api-vercel-example/โโโ vercel/โ โโโ client.go # Vercel Go runtime entryโโโ desc/ # API definitionsโ โโโ api/ # .api filesโโโ server/ # Server sideโ โโโ handler/ # HTTP handlersโ โโโ logic/ # Business logicโ โโโ types/ # Type definitionsโโโ vercel.json # Vercel platform configurationโโโ main.go # Local runtime entryโโโ go.mod # Go module file