{"id":27157203,"url":"https://github.com/kevelopment/harujs","last_synced_at":"2026-04-15T06:32:40.795Z","repository":{"id":40748926,"uuid":"335881265","full_name":"kevelopment/haruJs","owner":"kevelopment","description":"JavaScript Web Framework built in TypeScript bringing in some Spring feelings.","archived":false,"fork":false,"pushed_at":"2023-07-19T01:20:14.000Z","size":530,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T13:29:43.760Z","etag":null,"topics":["framework","koa","nodejs","web-application"],"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/kevelopment.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}},"created_at":"2021-02-04T08:01:09.000Z","updated_at":"2023-01-10T12:21:37.000Z","dependencies_parsed_at":"2023-02-14T07:45:44.804Z","dependency_job_id":null,"html_url":"https://github.com/kevelopment/haruJs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2FharuJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2FharuJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2FharuJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2FharuJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevelopment","download_url":"https://codeload.github.com/kevelopment/haruJs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927284,"owners_count":21019506,"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","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":["framework","koa","nodejs","web-application"],"created_at":"2025-04-08T20:53:57.668Z","updated_at":"2026-04-15T06:32:35.764Z","avatar_url":"https://github.com/kevelopment.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HaruJs\n![ HaruJs](./assets/logo.png)\n\n## Web framework for Node.js based on Koa\n\nThis Framework is supposed to bring the Spring-Boot feeling into JavaScript by providing the necessary Decorators for your Node.js Application.\n\n## Available Components\n\n### Modules\n\n- `Application` The Entry Point of the Service, used to configure and set up the App.\n\n### Decorators\n\n- `RestController` Defines a Controller responsible for handling Restful Http-Requests\n- `Get`, `Put`, `Post`, `Delete`, `Patch` Defines the Corresponding handling Methods of a Controller\n\n### Configuration\n\nA Configuration File (`haru.config.js` per default) can be provided via path-Parameter to the Application itself. Currenly the Configuration-File supports following Attributes:\n\n- \"port\": number - the Port of the Application\n\nThis Configuration File shall in future be used to provide arbitrary Properties for the Application e.g. `databaseUrl`, `dbUser`, `dbPassword` and even custom Attributes that will be Resolved via `@Property('${foo}')`.\n\n## Examples\n\nExamples can be found in the `/samples` Folder of the Repository. The example Application is configured to start an Application with multiple Controllers and Endpoints using different kinds of configurations.\n\nThe very basic way to create a Hello-World example would be:\n\n```ts\n@RestController()\nclass HelloController {\n  @Get('/hello')\n  helloWorld = async (ctx: Context, next: Function): Promise\u003cMiddleware\u003e =\u003e {\n    ctx.response.body = 'Hello World!';\n    return next();\n  };\n}\n\nconst app = new Application({ controllers: [HelloController] });\napp.initialize().start();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevelopment%2Fharujs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevelopment%2Fharujs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevelopment%2Fharujs/lists"}