{"id":18653119,"url":"https://github.com/albugowy15/api-double-track","last_synced_at":"2025-11-05T15:30:35.985Z","repository":{"id":226848183,"uuid":"766827264","full_name":"albugowy15/api-double-track","owner":"albugowy15","description":"Go-based REST API that offers a variety of endpoints designed to supply data for integration with the Double Track Recommendation Web.","archived":false,"fork":false,"pushed_at":"2024-07-12T12:52:54.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T14:08:45.851Z","etag":null,"topics":["go","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/albugowy15.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-03-04T07:47:22.000Z","updated_at":"2024-07-12T12:52:42.000Z","dependencies_parsed_at":"2024-05-01T06:27:41.302Z","dependency_job_id":"bd539420-ccfc-4b06-a0fa-ade89c5a9666","html_url":"https://github.com/albugowy15/api-double-track","commit_stats":null,"previous_names":["albugowy15/api-double-track"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fapi-double-track","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fapi-double-track/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fapi-double-track/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fapi-double-track/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albugowy15","download_url":"https://codeload.github.com/albugowy15/api-double-track/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239466652,"owners_count":19643590,"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":["go","rest-api"],"created_at":"2024-11-07T07:10:05.647Z","updated_at":"2025-02-18T11:43:08.362Z","avatar_url":"https://github.com/albugowy15.png","language":"Go","readme":"# Double Track Recommendation REST API\n\nThis project is a Go-based REST API that offers a variety of endpoints designed to supply data for integration with the [Double Track Recommendation Web](https://github.com/albugowy15/double-track-recommendations-web).\n\n## Tech Stack\n\n- Go 1.22\n- Chi (HTTP Router)\n- SQLx (database library)\n- Viper (configuration management)\n- Air (hot reload for development)\n- PostgreSQL (database)\n\n## Docker Compose\n\nTo run the project with Docker Compose, follow these steps:\n\n1. Start the PostgreSQL Docker container by running:\n\n```bash\ndocker-compose up -d db\n```\n\n2. Run database migrations and seed data by executing:\n\n```bash\ngo run cmd/database/migrations/up/main.go \u0026\u0026 go run cmd/database/seeder/main.go\n```\n\n3. Finally, launch the application using Docker Compose:\n\n```bash\ndocker-compose up api\n```\n\nThis will start the application in a Docker container, allowing you to interact with the REST API. You can interact with the API by navigating to [http://localhost:8080](http://localhost:8080).\n\n## Development Mode\n\nTo run the project in development mode, follow these steps:\n\n1. Make sure you have installed air for hot reload. Refer to [air docs](https://github.com/cosmtrek/air) for installation instructions.\n2. Run the following command to start the application with air:\n\n```bash\nair\n```\n\nThis will launch the application with hot reload enabled, allowing you to make changes to the code and see them reflected in real-time without restarting the server.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbugowy15%2Fapi-double-track","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbugowy15%2Fapi-double-track","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbugowy15%2Fapi-double-track/lists"}