{"id":16095682,"url":"https://github.com/rigwild/catalog-api","last_synced_at":"2026-03-18T17:53:28.743Z","repository":{"id":69607093,"uuid":"337887639","full_name":"rigwild/catalog-api","owner":"rigwild","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-12T16:19:59.000Z","size":205,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T20:14:30.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","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/rigwild.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}},"created_at":"2021-02-11T00:02:51.000Z","updated_at":"2022-10-27T04:26:47.000Z","dependencies_parsed_at":"2023-06-08T13:46:49.060Z","dependency_job_id":null,"html_url":"https://github.com/rigwild/catalog-api","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"6e66a76fd3f1f6ec7b8dcaefe50b95a868360091"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rigwild/catalog-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigwild%2Fcatalog-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigwild%2Fcatalog-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigwild%2Fcatalog-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigwild%2Fcatalog-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rigwild","download_url":"https://codeload.github.com/rigwild/catalog-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigwild%2Fcatalog-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-09T17:07:44.193Z","updated_at":"2026-01-20T10:32:55.287Z","avatar_url":"https://github.com/rigwild.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Catalog API\n\n## Install\n\n### Prerequisites\n\n - Node.js v12.0.0+\n - PostgreSQL v9.6.0+\n\nInstall Node.js dependencies\n\n```sh\nyarn # or npm i -D\n```\n\nCreate a PostgreSQL database and import the database (see [db.sql](./db.sql))\n\n```\npsql\nCREATE DATABASE catalog_api;\n\\c catalog_api\n\\i db.sql\n```\n\n## Run\n\n```sh\nPGUSER=myuser PGPASSWORD=mysecurepassword yarn start:ts\n# or PGUSER=myuser PGPASSWORD=mysecurepassword npm run start:ts\n```\n\n## Build Docker image\n\n```\ndocker build -t rigwild/catalog-api .\n```\n\n## Run with docker-compose\n\nYou need to [Build the Docker image](#build-docker-image) first.\n\nThe database is automatically imported and the app starts on http://localhost:5000.\n\n```\ndocker-compose up\n```\n\n## API routes\n\n### `/users`\n\n - `GET /users`\n - `POST /users`\n - `GET /users/:id`\n - `GET /users/:id/playlist`\n - `GET /users/:id/suggestions`\n - `PUT /users/:id/playlist`\n - `PUT /users/:id/suggestions`\n - `GET /users/:id/playlist`\n\n### `/movies`\n\n - `GET /movies`\n - `POST /movies`\n - `GET /movies/:id`\n - `PUT /movies/:id`\n\n### `/genres`\n\n - `GET /genres`\n - `POST /genres`\n - `GET /genres/:id`\n - `PUT /genres/:id`\n\n### `/people`\n\n - `GET /people`\n - `POST /people`\n - `GET /people/:id`\n - `PUT /people/:id`\n\n## Postman Collection\n\nSee [Catalog_API.postman_collection.json](./Catalog_API.postman_collection.json)\n\n## License\n\n[The MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frigwild%2Fcatalog-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frigwild%2Fcatalog-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frigwild%2Fcatalog-api/lists"}