{"id":26193148,"url":"https://github.com/vaalley/codex-backend","last_synced_at":"2025-03-12T01:35:53.464Z","repository":{"id":275933267,"uuid":"921197733","full_name":"Vaalley/codex-backend","owner":"Vaalley","description":"The backend API server for Codex","archived":false,"fork":false,"pushed_at":"2025-02-05T11:15:22.000Z","size":20,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T11:29:21.698Z","etag":null,"topics":["api-rest","backend","golang"],"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/Vaalley.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":"2025-01-23T14:24:54.000Z","updated_at":"2025-01-25T23:20:06.000Z","dependencies_parsed_at":"2025-02-05T11:39:30.822Z","dependency_job_id":null,"html_url":"https://github.com/Vaalley/codex-backend","commit_stats":null,"previous_names":["vaalley/codex-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaalley%2Fcodex-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaalley%2Fcodex-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaalley%2Fcodex-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaalley%2Fcodex-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vaalley","download_url":"https://codeload.github.com/Vaalley/codex-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141288,"owners_count":20242815,"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":["api-rest","backend","golang"],"created_at":"2025-03-12T01:35:52.759Z","updated_at":"2025-03-12T01:35:53.401Z","avatar_url":"https://github.com/Vaalley.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codex Backend\n\nwork needs to be done...\n\n## Todo\n\n- Add User Registering\n- Add User Logging\n\n## File Structure\n\n.\n├── main.go           # Thin entry point (keeps initialization clean)\n├── config/\n│   ├── config.go     # Load env vars, DB connection, etc.\n│\n├── api/\n│   ├── routes.go     # Route definitions\n│   └── handlers/     # Group handlers by domain\n│       ├── users.go  # Handlers with direct DB access (for now)\n│       └── games.go\n│\n├── models/           # Database models (structs)\n│   ├── user.go\n│   └── game.go\n│\n├── db/               # DB connection + direct queries\n│   ├── mongo.go      # Initialize connection\n│   ├── users.go      # Raw queries (e.g., GetUserByID)\n│   └── games.go\n│\n├── utils/            # Helpers (e.g., JSON responses, validation)\n│   └── http.go\n│\n├── .env\n├── .env.example\n├── go.mod\n└── README.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaalley%2Fcodex-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaalley%2Fcodex-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaalley%2Fcodex-backend/lists"}