{"id":19533427,"url":"https://github.com/bratelion/koa-sequelize-skeleton","last_synced_at":"2025-10-28T18:52:40.777Z","repository":{"id":55488951,"uuid":"455620927","full_name":"Bratelion/koa-sequelize-skeleton","owner":"Bratelion","description":"Simple typescript skeleton in KoaJs + Sequelize ORM with Postgres database","archived":false,"fork":false,"pushed_at":"2022-08-09T20:50:57.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T17:23:50.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Bratelion.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":"2022-02-04T16:37:15.000Z","updated_at":"2022-02-04T16:40:46.000Z","dependencies_parsed_at":"2022-08-15T01:31:03.914Z","dependency_job_id":null,"html_url":"https://github.com/Bratelion/koa-sequelize-skeleton","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/Bratelion%2Fkoa-sequelize-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2Fkoa-sequelize-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2Fkoa-sequelize-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2Fkoa-sequelize-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bratelion","download_url":"https://codeload.github.com/Bratelion/koa-sequelize-skeleton/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240788778,"owners_count":19857695,"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-11T02:07:39.534Z","updated_at":"2025-10-28T18:52:40.647Z","avatar_url":"https://github.com/Bratelion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koa-sequelize-skeleton\n\nSimple typescript skeleton in KoaJs + Sequelize ORM with Postgres database\n\n## Setup\n\n1. Create the postgres database on Heroku and note the URI in configuration\n2. Paste the URI into .env file under DATABASE_URL\n3. Run commands: \n - `yarn db:migrate` to create tables in the database\n - `yarn db:seed` to seed the data into the previously created tables\n\n4. To start the server in development mode, run command:\n - `yarn start:dev`\n\nWarning: In case of deleting the entire database, run command:\n - `yarn db:rollback`\n\n## Models\n\nCreated are 2 models, including relation Many-To-Many between them:\n\n - User (id, name, createdAt)\n\n - City (id, name, createdAt)\n\n - User_To_City (id, userId, cityId, createdAt)\n\n## Seeds\n\nDatabase is seeded with generic user and city data, as well as relation between them\n\n## Notes\n\n`global-bundle.pem` is used to certificate all traffic to and from database and server\n\nPrettier configuration is in `.prettierrc`\n\nEslint configuration is in `.eslint.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbratelion%2Fkoa-sequelize-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbratelion%2Fkoa-sequelize-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbratelion%2Fkoa-sequelize-skeleton/lists"}