{"id":28573416,"url":"https://github.com/typetron/framework","last_synced_at":"2025-08-18T18:04:17.850Z","repository":{"id":35132571,"uuid":"210201271","full_name":"typetron/framework","owner":"typetron","description":"Typetron is a modern Node.js framework for building backend web apps with Typescript","archived":false,"fork":false,"pushed_at":"2025-07-13T10:13:47.000Z","size":1449,"stargazers_count":29,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-08T23:46:24.476Z","etag":null,"topics":["backend","framework","fresh","modern","nodejs","typescript","web"],"latest_commit_sha":null,"homepage":"http://typetron.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typetron.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"Support/Array.ts","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-22T19:16:58.000Z","updated_at":"2025-07-13T10:13:50.000Z","dependencies_parsed_at":"2023-02-18T18:46:33.463Z","dependency_job_id":"8ab079ce-9d9f-450f-b489-d3c016c1efad","html_url":"https://github.com/typetron/framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/typetron/framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typetron%2Fframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typetron%2Fframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typetron%2Fframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typetron%2Fframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typetron","download_url":"https://codeload.github.com/typetron/framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typetron%2Fframework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270624865,"owners_count":24618267,"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-08-15T02:00:12.559Z","response_time":110,"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":["backend","framework","fresh","modern","nodejs","typescript","web"],"created_at":"2025-06-10T21:17:49.380Z","updated_at":"2025-08-18T18:04:17.819Z","avatar_url":"https://github.com/typetron.png","language":"TypeScript","readme":"# Typetron\n\u003e **Note:** This project is a prototype in heavy development and not ready for production. \n\n**[Typetron](https://typetron.org)** is a **modern web framework** built for Node.js, written in **Typescript**, that\nallows you to build fully featured web applications. \nTypetron is best suited for small sized to enterprise level apps.\nMost of the core packages it uses were built from scratch in order to preserve the performance of the framework. \n\n_(check [this tutorial](https://typetron.org/tutorials/blog) on how to get started with Typetron)_\n\n### Prerequisites\n- [NodeJs \u003e=12 LTS](https://nodejs.org)\n\n#### Features\nTypetron aims to have all the features necessary for building any web app without the need for you\nto search the internet for a package to use. Almost all the packages it has were built from scratch and are \navailable in the framework. \nThis was done to ensure that all the features you are using benefit from the latest language features. \nAlso, every package can be tuned for performance or updated in no time if needed.\n\n##### Features List\n\n[typetron.org](https://typetron.org/docs/)\n\n##### Performance\nBeing built with packages created from scratch using the latest features of the language, Typetron comes with\nexcellent performance out of the box compared to other available frameworks.\n\n##### Developer experience\nTypetron's source code is built around developer's expectations: it is modern, clean and beautiful.\nAlso, the tools Typetron is providing are everything a developer needs to build his next awesome project.\n\n##### Code sharing\nA few years ago we wrote websites. Nowadays we write web applications. The web evolved alongside the tools we are\nusing. A typical web application is composed of at least two parts: a backend app and a frontend app.\nThis separation led to two different camps that have a very distinct line between them. Typetron provides tools to make\nthese two camps work together. \n\n#### Source code examples\n\n##### Entities \n```ts\nexport class User extends Entity {\n\n    @PrimaryColumn()\n    id: number;\n\n    @Column()\n    email: string;\n\n    @Column()\n    name: string;\n\n    @Relation(() =\u003e Post, 'author')\n    posts: HasMany\u003cPost\u003e = [];\n\n    @Relation(() =\u003e Group, 'users')\n    group: BelongsTo\u003cGroup\u003e;\n}\n```\n##### Forms\n```ts\nexport class UserForm extends Form {\n    @Field()\n    @Rules(\n        Required,\n    )\n    email: string;\n\n    @Field()\n    @Rules(\n        Required,\n        MinLength(5),\n    )\n    name: string;\n\n    @Field()\n    dateOfBirth: Date;\n}\n``` \n\n##### Controllers\n\n```ts\n@Controller('users')\nexport class UserController {\n\n    @Inject()\n    storage: Storage;\n    \n    @AuthUser()\n    user: User;\n\n    @Get('me')\n    async me() {\n        return this.auth.user;\n    }\n\n    @Get()\n    async browse() {\n        return UserModel.from(User.get());\n    }\n\n    @Get(':User')\n    read(user: User) {\n        return user;\n    }\n\n    @Put(':User')\n    update(user: User, userForm: UserForm) {\n        return user.fill(userForm).save();\n    }\n\n    @Post()\n    create(userForm: UserForm) {\n        return User.create(userForm);\n    }\n}\n\n```\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypetron%2Fframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypetron%2Fframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypetron%2Fframework/lists"}