Introduction to Jetpath
Write Once, Run Cross-runtime
Welcome to Jetpath! 🚀 If you’re a JavaScript/TypeScript developer looking to build modern APIs, you’re in for a treat. Jetpath is more than just another framework - it’s your new best friend in backend development, designed to make your life easier while giving you unprecedented flexibility.
What Makes Jetpath Special?
Jetpath isn’t just another framework - it’s a new way of thinking about backend development. Here’s why developers love it:
- Write Once, Run Cross-runtime: Your code runs seamlessly on Node.js, Deno, or Bun. No more worrying about runtime lock-in!
- Zero-Config Magic: Create endpoints by simply writing functions. No need to wrestle with complex configuration files.
- TypeScript First: Built with TypeScript from the ground up, giving you the best of both worlds: type safety and JavaScript flexibility.
- Joy: We’ve eliminated all the boring parts of backend development so you can focus on what matters - building amazing features.
How It Works
Jetpath uses smart conventions and naming-based routing. Instead of writing route definitions, you just:
1. Create .jet.ts
or .jet.js
files in your src
directory
2. Export functions with intuitive names like METHOD_optionalPathSegment
3. Let Jetpath handle the rest
For example, create src/users.jet.ts
with:
// This becomes GET /users
export const GET_users: JetRoute = (ctx) => {
ctx.send({ message: "I am super fast and runs on any runtime!" });
};
It’s that simple!
Why Developers Love Jetpath
Here’s what makes Jetpath stand out:
- 🚀 Blazing Fast Development: No more configuration files or complex setup. Just write your code and let Jetpath handle the rest.
- 📚 Automatic API Docs: Define your validation schemas once, and get beautiful, interactive API documentation that stays in sync with your code.
- 🔒 Type Safety: Built with TypeScript first, giving you the best of both worlds: type safety and JavaScript flexibility.
- 🧩 Unlimited Extensibility: Extend Jetpath with official plugins or create your own. The framework is designed to grow with your needs.
- 💡 Smart Conventions: Instead of fighting with the framework, Jetpath works the way you think. Function naming conventions means your code structure matches your API structure.
Jetpath is perfect for:
- Every Developer & Teams: Build projects faster without sacrificing quality
- Startups: Rapidly iterate on your API while maintaining type safety
- Enterprise Teams: Build maintainable, scalable APIs that work across multiple runtimes
- Full-Stack Developers: Finally have a backend framework that matches the joy of frontend development
- Anyone Who Hates Boilerplate: Jetpath handles the boring stuff so you can focus on what matters
- Anyone Who Loves: Developer experience, code maintainability, and runtime flexibility
Ready to Get Started?
Dive into Jetpath and experience the joy of modern backend development:
- Quick Start: Follow our Quick Start guide to build your first API in minutes
- Core Concepts: Explore the Core Concepts to understand how everything works together
Join the Discord community,
Who is Jetpath For?
Jetpath is an excellent choice for:
- Startups and Teams: Needing to build and iterate quickly without sacrificing structure or type safety
- Multi-Platform Deployments: Developers targeting or potentially migrating between Node.js, Deno, and Bun environments
- API-First Development: Projects where clear, automatically generated API documentation is essential
- Full-Stack Developers: Looking for a productive and modern JavaScript/TypeScript backend framework
- Anyone valuing: Developer experience, code maintainability, and runtime flexibility
Discord?
Join the growing community of developers who’ve discovered that building APIs can be both powerful and fun! 🚀