{"id":21166027,"url":"https://github.com/peterdee/koa-typescript","last_synced_at":"2025-09-11T00:33:58.066Z","repository":{"id":103803797,"uuid":"244556595","full_name":"peterdee/koa-typescript","owner":"peterdee","description":"A Koa application with Typescript","archived":false,"fork":false,"pushed_at":"2020-07-20T06:58:30.000Z","size":206,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"stage","last_synced_at":"2025-01-21T10:11:16.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://localhost:2020","language":"TypeScript","has_issues":false,"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/peterdee.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}},"created_at":"2020-03-03T06:12:49.000Z","updated_at":"2020-07-20T06:58:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac53f5f9-0d51-4648-a773-d15f71343b0b","html_url":"https://github.com/peterdee/koa-typescript","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/peterdee%2Fkoa-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fkoa-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fkoa-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fkoa-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterdee","download_url":"https://codeload.github.com/peterdee/koa-typescript/tar.gz/refs/heads/stage","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615336,"owners_count":20319726,"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":[],"created_at":"2024-11-20T14:47:56.343Z","updated_at":"2025-03-14T16:45:38.024Z","avatar_url":"https://github.com/peterdee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## A Koa application with Typescript\n\nThis application is used for the Jenkins auto-deployment testing\n\nStack: [Koa](https://koajs.com/), [Node](https://nodejs.org/en/), [Sequelize](https://sequelize.org/), [Typescript](https://www.typescriptlang.org/)\n\n### Environemt\n\nThe `.env` file is required\n\nCheck the [`.env.example`](.env.example) file for the list of the required environmental variables\n\n### Deploy\n\nInstall and configure the [PostgreSQL](https://www.postgresql.org/download/) database\n\nDeploy the project:\n\n```shell script\ngit clone https://github.com/peterdee/koa-typescript\ncd ./koa-typescript\nnvm use 12.16.1\nnpm i -g sequelize-cli\nnpm i\n```\n\n### Launch\n\nFor the local deployment, run:\n\n```shell script\nnpm run dev\n```\n\nFor the staging, install the [PM2](https://www.npmjs.com/package/pm2) module:\n\n```shell script\nnpm i -g pm2\npm2 install pm2-logrotate\n```\n\nStart the server with PM2:\n\n```shell script\npm2 start npm --no-automation --name koa-typescript -- run prod\npm2 save\n```\n\nTo restart the server, run:\n\n```shell script\npm2 restart koa-typescript\n```\n\nTo stop the server, run:\n\n```shell script\npm2 delete koa-typescript\n```\n\n### Database migrations\n\nCheck the [MIGRATIONS.md](MIGRATIONS.md) file for more information\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdee%2Fkoa-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterdee%2Fkoa-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdee%2Fkoa-typescript/lists"}