{"id":13493516,"url":"https://github.com/HowProgrammingWorks/NodejsStarterKit","last_synced_at":"2025-03-28T11:32:53.140Z","repository":{"id":39564778,"uuid":"249818399","full_name":"HowProgrammingWorks/NodejsStarterKit","owner":"HowProgrammingWorks","description":"Starter Kit for Node.js 16 or later, minimum dependencies 🚀","archived":false,"fork":false,"pushed_at":"2024-06-17T21:53:58.000Z","size":549,"stargazers_count":457,"open_issues_count":9,"forks_count":101,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-03-21T02:45:20.537Z","etag":null,"topics":["api","boilerplate","cloud","cluster","metarhia","node","nodejs","project","sandboxing","server","starter-kit","threads"],"latest_commit_sha":null,"homepage":"http://metarhia.com","language":"JavaScript","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/HowProgrammingWorks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"patreon":"tshemsedinov"}},"created_at":"2020-03-24T21:08:42.000Z","updated_at":"2025-03-15T20:59:15.000Z","dependencies_parsed_at":"2024-06-17T23:35:03.584Z","dependency_job_id":"178be8ef-03c4-4914-8075-3d85b26cb045","html_url":"https://github.com/HowProgrammingWorks/NodejsStarterKit","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HowProgrammingWorks%2FNodejsStarterKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HowProgrammingWorks%2FNodejsStarterKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HowProgrammingWorks%2FNodejsStarterKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HowProgrammingWorks%2FNodejsStarterKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HowProgrammingWorks","download_url":"https://codeload.github.com/HowProgrammingWorks/NodejsStarterKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246021482,"owners_count":20710943,"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":["api","boilerplate","cloud","cluster","metarhia","node","nodejs","project","sandboxing","server","starter-kit","threads"],"created_at":"2024-07-31T19:01:16.055Z","updated_at":"2025-03-28T11:32:52.880Z","avatar_url":"https://github.com/HowProgrammingWorks.png","language":"JavaScript","readme":"# Node.js Starter Kit\n\n## Concept\n\nYou can begin development from this Starter Kit, but it is not for production\nusage. The purpose of this Starter Kit is to show simplicity, basic concepts,\ngive structure and architecture examples. All parts of this implementation are\noptimized for readability and understanding, but not for performance and\nscalability.\n\nSo it is good for development and education. However, for production deployment,\nyou may need the [Metarhia Example App](https://github.com/metarhia/Example) an\nopen-source application server on the top of [Node.js](https://nodejs.org/en/).\n\n## Feature list\n\n- Pure node.js and framework-agnostic approach\n- Minimum code size and dependencies\n- Layered architecture: core, domain, API, client\n- Protocol-agnostic API with auto-routing, HTTP(S), WS(S)\n- Graceful shutdown\n- Code sandboxing for security, dependency injection and context isolation\n- Serve multiple ports\n- Serve static files with memory cache\n- Application configuration\n- Simple logger\n- Database access layer (Postgresql)\n- Persistent sessions\n- Unit-tests and API tests example\n- Request queue with timeout and size\n- Execution timeout and error handling\n\n## Requirements\n\n- Node.js v16 or later\n- Linux (tested on Fedora, Ubuntu, and CentOS)\n- Postgresql 9.5 or later (v12 preferred)\n- OpenSSL v1.1.1 or later\n- [certbot](https://github.com/certbot/certbot) (recommended but optional)\n\n## Usage\n\n1. Fork and clone this repository (optionally subscribe to repo changes)\n2. Remove unneeded dependencies if your project doesn't require them\n3. Run `npm ci --production` to install dependencies and generate certificate\n4. Add your license to `LICENSE` file but don't remove starter kit license\n5. Start your project by modifying this starter kit\n6. Run project with `node server.js` and stop with Ctrl+C\n\n## Help\n\nAsk questions at https://t.me/nodeua and post issues on\n[github](https://github.com/HowProgrammingWorks/NodejsStarterKit/issues).\n\n## License\n\nCopyright (c) 2020-2023 How.Programming.Works contributors.\nThis starter kit is [MIT licensed](./LICENSE).\n","funding_links":["https://patreon.com/tshemsedinov"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHowProgrammingWorks%2FNodejsStarterKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHowProgrammingWorks%2FNodejsStarterKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHowProgrammingWorks%2FNodejsStarterKit/lists"}