{"id":15097667,"url":"https://github.com/siykt/nodejs-server-template","last_synced_at":"2026-02-19T18:31:37.780Z","repository":{"id":224494521,"uuid":"763403666","full_name":"Siykt/nodejs-server-template","owner":"Siykt","description":"A koa server template for nodejs","archived":false,"fork":false,"pushed_at":"2024-03-08T07:40:55.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T22:46:13.031Z","etag":null,"topics":["koa","nodejs","template-project"],"latest_commit_sha":null,"homepage":"","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/Siykt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-02-26T08:24:58.000Z","updated_at":"2024-03-08T07:31:30.000Z","dependencies_parsed_at":"2024-03-08T08:34:05.551Z","dependency_job_id":null,"html_url":"https://github.com/Siykt/nodejs-server-template","commit_stats":null,"previous_names":["siykt/nodejs-server-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Siykt/nodejs-server-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siykt%2Fnodejs-server-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siykt%2Fnodejs-server-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siykt%2Fnodejs-server-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siykt%2Fnodejs-server-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siykt","download_url":"https://codeload.github.com/Siykt/nodejs-server-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siykt%2Fnodejs-server-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279078059,"owners_count":26098432,"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-10-15T02:00:07.814Z","response_time":56,"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":["koa","nodejs","template-project"],"created_at":"2024-09-25T16:24:44.408Z","updated_at":"2025-10-15T12:29:17.704Z","avatar_url":"https://github.com/Siykt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A koa server template for nodejs\n\nThis project is an open-source template for building server-side applications using Koa, TypeScript, tsup for building, and integrated ESLint + Prettier for code formatting and linting. It is designed to provide a starting point for developers looking to create robust, scalable, and maintainable web services or APIs.\n\n## Features\n\n- **Koa Framework**: Utilizes Koa for handling HTTP requests with a minimalistic and flexible approach.\n- **TypeScript Support**: Leverages TypeScript for strong typing and enhanced development experience.\n- **tsup for Building**: Uses tsup for efficient and fast TypeScript compilation.\n- **ESLint + Prettier**: Integrated ESLint and Prettier for consistent code formatting and linting, ensuring code quality and style consistency.\n- **Advanced REST Architecture**: Features a polished RESTful architecture with efficient route management for streamlined API development.\n- **zod-based DTO Validation**: Introduces zod for clear, concise DTO middleware, greatly simplifying data validation and structuring.\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (Version recommended: 14.x or later)\n- npm/yarn\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Siykt/nodejs-server-template.git\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   cd nodejs-server-template\n   npm install\n   ```\n\n   or if you prefer yarn,\n\n   ```bash\n   yarn\n   ```\n\n### Running the Server\n\nTo start the server in development mode, run:\n\n```bash\nnpm run dev\n```\n\nor using yarn,\n\n```bash\nyarn dev\n```\n\nThe server will reload automatically on file changes thanks to ts-node-dev.\n\n### Building the Project\n\nTo compile TypeScript to JavaScript, run:\n\n```bash\nnpm run build\n```\n\nor using yarn,\n\n```bash\nyarn build\n```\n\nThe build output will be in the `dist` folder.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request or create an issue for any enhancements, bug fixes, or feature requests.\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiykt%2Fnodejs-server-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiykt%2Fnodejs-server-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiykt%2Fnodejs-server-template/lists"}