{"id":28222639,"url":"https://github.com/codedynasty-dev/jetpath-sample","last_synced_at":"2025-09-02T14:37:46.571Z","repository":{"id":293522043,"uuid":"984294485","full_name":"CodeDynasty-dev/jetpath-sample","owner":"CodeDynasty-dev","description":"A basic project sample for the Jetpath framework, with MongoDB and eCommerce use-case.","archived":false,"fork":false,"pushed_at":"2025-07-20T19:33:41.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-20T21:22:25.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeDynasty-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-15T17:41:09.000Z","updated_at":"2025-07-20T19:33:45.000Z","dependencies_parsed_at":"2025-05-15T19:36:22.682Z","dependency_job_id":"14e23597-5419-49cc-9735-199e3b32a936","html_url":"https://github.com/CodeDynasty-dev/jetpath-sample","commit_stats":null,"previous_names":["codedynasty-dev/jetpath-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeDynasty-dev/jetpath-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2Fjetpath-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2Fjetpath-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2Fjetpath-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2Fjetpath-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDynasty-dev","download_url":"https://codeload.github.com/CodeDynasty-dev/jetpath-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2Fjetpath-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273298609,"owners_count":25080599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-18T07:13:41.901Z","updated_at":"2025-09-02T14:37:46.556Z","avatar_url":"https://github.com/CodeDynasty-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jetpath: Cross-runtime Framework Sample\n\n## Modern Web Development, Simplified\n\nJetpath is a cutting-edge TypeScript framework designed for developers who demand performance, simplicity, and an exceptional developer experience.\n\n### Why Jetpath?\n\n- **High Performance**: Lightning-fast web applications\n- **Type Safety**: Robust TypeScript type system\n- **Minimal Boilerplate**: Clean, concise code\n\n### Key Features\n\n1. **Intuitive Routing**\n   Create routes by simply adding files in the `src/app` directory:\n\n   ```typescript\n   // Automatically creates a GET /user endpoint\n   export const GET_user: JetRoute = async (ctx) =\u003e {\n     const user = ctx.state.user;\n     ctx.send(user);\n   };\n   ```\n\n2. **Built-in API Documentation**\n   Secure authentication with minimal configuration:\n\n   ```typescript\n   export const POST_o_user_login: JetRoute\u003c{\n     body: { password: string; email: string };\n   }\u003e = async (ctx) =\u003e {\n     // Type-safe authentication \u0026 Documented automatically\n   };\n   use(POST_o_user_login).body((t) =\u003e {\n     return {\n       email: t.string().email().required(),\n       password: t.string().required().min(4).max(128),\n     };\n   });\n   ```\n\n3. **Flexible API Management**\n   Easily define and manage api endpoints:\n\n   ```typescript\n   export const GET_products: JetRoute = async (ctx) =\u003e {\n     const products = await Product.find();\n     ctx.send(products);\n   };\n   ```\n\n### Quick Start\n\n```bash\n# Install Jetpath CLI\nnpx jetpath new-project\n\n# Navigate to the project directory\ncd new-project\n\n# Install dependencies\nnpm install\n\n# Start development server\nnpm run dev\n```\n\n### Core Capabilities\n\n- File-based routing\n- Type-safe API development\n- Built-in authentication\n- Database agnostic\n- Serverless deployment ready\n\n### Project Structure\n\n```\nsrc/\n├── app/           # Route handlers\n├── db/            # Database models\n├── main.jet.ts    # Application entry point\n└── ...\n```\n\n### Ecosystem\n\n- Works with multiple frontend frameworks\n- Scalable from small projects to enterprise applications\n- Easy middleware and plugin integration\n\n### Deployment\n\nJetpath is deployment ready, you can deploy it on any hosting platform.\nthis example is deployed on `fly.io` using fly cli.\n\n### Contributing\n\nContributions are welcome! Check our [contribution guidelines](https://github.com/CodeDynasty-dev/Jetpath/blob/main/contributing.md).\n\n### License\n\nMIT License\n\n### Community\n\nJoin our [Discord](https://discord.gg/faqydQASTy) for support and discussions!\n\n---\n\n**Crafted with ❤️ by CodeDynasty.dev**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedynasty-dev%2Fjetpath-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedynasty-dev%2Fjetpath-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedynasty-dev%2Fjetpath-sample/lists"}