{"id":20551619,"url":"https://github.com/do-community/project-archipelago-go-backend","last_synced_at":"2026-04-19T00:35:48.165Z","repository":{"id":40661752,"uuid":"486782992","full_name":"do-community/project-archipelago-go-backend","owner":"do-community","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-29T19:46:57.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-06T05:47:25.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/do-community.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-04-28T23:58:57.000Z","updated_at":"2025-01-31T11:01:18.000Z","dependencies_parsed_at":"2022-07-24T19:46:28.738Z","dependency_job_id":null,"html_url":"https://github.com/do-community/project-archipelago-go-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/do-community/project-archipelago-go-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fproject-archipelago-go-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fproject-archipelago-go-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fproject-archipelago-go-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fproject-archipelago-go-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/do-community","download_url":"https://codeload.github.com/do-community/project-archipelago-go-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fproject-archipelago-go-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31989976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: 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-11-16T02:32:29.198Z","updated_at":"2026-04-19T00:35:48.128Z","avatar_url":"https://github.com/do-community.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Archipelago Go API\n\nAn API written in Go that serves up data for the Project Archipelago frontend. \n\n## Installation \u0026 Run\n\n```bash\n# Download this project\ngo get https://github.com/do-community/project-archipelago-go-backend\n```\n\n```bash\n# Build and Run\ncd project-archipelago-go-backend\ngo mod init \ngo run .\n\nAPI Endpoint : http://127.0.0.1:8080/\n\n``` \n\n## Structure\n\n```\n├── controllers\n|   └── profilecontroller.go\n├── database\n|   └── mongo.go\n├── entities\n|   └── profile.go\n└── config.go\n└── config.json\n└── main.go\n└── README.md\n``` \n\n## API\n\n#### api/profiles\n* `GET` : Get all profiles\n\n#### api/profiles/{#id}\n* `GET` : Get a specific profile using an ID \n\n#### api/profiles/{#id}\n* `POST` : Create a new profile\n\n#### api/profiles/{#id}\n* `PUT` : Update a profile \n\n#### api/profies/{#id}\n* `DELETE` : Delete a profile\n\n#### api/health\n* `GET` : Get the healthcheck endpoint, `OK`\n\n## To Do\n- [ ] Add a healthcheck endpoint at `api/health` that returns `OK` \n- [ ] Store the MongoDB Connection string as an ENV var and use the `os` pkg to get the value \n- [ ] Refactor `GetProfiles` code\n- [ ] Write `GetProfileById` code\n- [ ] Write `GetProfileById` code \n- [ ] Write `CreateProfile` code \n- [ ] Write `UpdateProfile` code\n- [ ] Write `DeleteProfile` code \n- [ ] Containerize with Docker\n- [ ] Build a deployment process to push Docker image to a container registry \n- [ ] Add yaml manifests for a Kubernetes Deployment and ClusterIP service","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-community%2Fproject-archipelago-go-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdo-community%2Fproject-archipelago-go-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-community%2Fproject-archipelago-go-backend/lists"}