Jetpath is a cutting-edge TypeScript framework designed for developers who demand performance, simplicity, and an exceptional developer experience.
- High Performance: Lightning-fast web applications
- Type Safety: Robust TypeScript type system
- Minimal Boilerplate: Clean, concise code
-
Intuitive Routing Create routes by simply adding files in the
src/app
directory:// Automatically creates a GET /user endpoint export const GET_user: JetFunc = async (ctx) => { const user = ctx.state.user; ctx.send(user); };
-
Built-in API Documentation Secure authentication with minimal configuration:
export const POST_o_user_login: JetFunc<{ body: { password: string; email: string }; }> = async (ctx) => { // Type-safe authentication & Documented automatically }; use(POST_o_user_login).body((t) => { return { email: t.string().email().required(), password: t.string().required().min(4).max(128), }; });
-
Flexible API Management Easily define and manage api endpoints:
export const GET_products: JetFunc = async (ctx) => { const products = await Product.find(); ctx.send(products); };
# Install Jetpath CLI
npx jetpath new-project
# Navigate to the project directory
cd new-project
# Install dependencies
npm install
# Start development server
npm run dev
- File-based routing
- Type-safe API development
- Built-in authentication
- Database agnostic
- Serverless deployment ready
src/
├── app/ # Route handlers
├── db/ # Database models
├── main.jet.ts # Application entry point
└── ...
- Works with multiple frontend frameworks
- Scalable from small projects to enterprise applications
- Easy middleware and plugin integration
Jetpath is deployment ready, you can deploy it on any hosting platform.
this example is deployed on fly.io
using fly cli.
Contributions are welcome! Check our contribution guidelines.
MIT License
Join our Discord for support and discussions!
Crafted with ❤️ by CodeDynasty.dev