{"id":15097793,"url":"https://github.com/bratelion/myfriends","last_synced_at":"2026-03-01T14:03:06.038Z","repository":{"id":174065630,"uuid":"386325416","full_name":"Bratelion/MyFriends","owner":"Bratelion","description":"Dockerized KoaJS backend and Postgres DB","archived":false,"fork":false,"pushed_at":"2022-04-05T10:31:07.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T13:36:45.071Z","etag":null,"topics":["backend","koajs","postgres"],"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/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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-15T14:47:46.000Z","updated_at":"2022-04-05T10:31:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8c9f45e-c2e6-46ee-817f-91e32e29f319","html_url":"https://github.com/Bratelion/MyFriends","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"b9ecb5ce2f99bb5f97e9e4c2583f4c8a7bfeb21a"},"previous_names":["bratelion/myfriends"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bratelion/MyFriends","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2FMyFriends","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2FMyFriends/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2FMyFriends/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2FMyFriends/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bratelion","download_url":"https://codeload.github.com/Bratelion/MyFriends/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bratelion%2FMyFriends/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273105960,"owners_count":25046950,"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-09-01T02:00:09.058Z","response_time":120,"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":["backend","koajs","postgres"],"created_at":"2024-09-25T16:40:31.570Z","updated_at":"2026-03-01T14:03:06.005Z","avatar_url":"https://github.com/Bratelion.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Awesome Project Build with TypeORM\n\nSteps to run this project:\n\n1. Run `npm i` command\n2. Run `docker-compose build` command\n3. Run `docker-compose up` command\n\n# Migration\n\n1. Run `npm run migration:generate \"NAME\"` to generate new migration schema\n2. Run `npm run migration:run` to run the migrations\n\nMigrations are set to run prior to `npm start` inside Docker container, so your only job is entity changes and generation of migrations in CLI of app in docker\n\n# Methods\nStart sending requests to fill up the database:\n\n## GET /friends\nGet list of all friends\n\n## GET /friends/:friend_id\nGet details about friend with id = :friend_id\n\n## POST /friends\nPost a new friend into DB\n\tbody {\n\n\t\t\"first_name\" : \"STRING\", // required\n\t\n\t\t\"last_name\" : \"STRING\", // required\n\t\n\t\t\"nickname\" : \"STRING\",\n\t\n\t\t\"rating\" : \"INTEGER\"\n\t\n\t}\n\n## DELETE /friends/:friend_id\nDelete friend with id = :friend_id\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbratelion%2Fmyfriends","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbratelion%2Fmyfriends","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbratelion%2Fmyfriends/lists"}