{"id":28369641,"url":"https://github.com/neil-ptr/until-failure-api","last_synced_at":"2026-01-12T06:55:37.155Z","repository":{"id":62713810,"uuid":"531787193","full_name":"neil-ptr/until-failure-api","owner":"neil-ptr","description":"GraphQL API for my workout logger written using Go","archived":false,"fork":false,"pushed_at":"2024-02-24T22:50:48.000Z","size":439,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T10:37:59.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/neil-ptr.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":"2022-09-02T05:00:05.000Z","updated_at":"2023-03-24T07:01:17.000Z","dependencies_parsed_at":"2024-01-11T01:10:01.270Z","dependency_job_id":"7e0e1e5b-3f18-499b-bb10-3184ae6912ee","html_url":"https://github.com/neil-ptr/until-failure-api","commit_stats":null,"previous_names":["neilzon/workout-logger-api","neil-and-void/until-failure-api","neil-ptr/until-failure-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neil-ptr/until-failure-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neil-ptr%2Funtil-failure-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neil-ptr%2Funtil-failure-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neil-ptr%2Funtil-failure-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neil-ptr%2Funtil-failure-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neil-ptr","download_url":"https://codeload.github.com/neil-ptr/until-failure-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neil-ptr%2Funtil-failure-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266117889,"owners_count":23879137,"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":[],"created_at":"2025-05-29T05:10:50.837Z","updated_at":"2025-10-08T13:11:41.910Z","avatar_url":"https://github.com/neil-ptr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1440\" alt=\"Screen Shot 2022-11-13 at 11 47 42 AM\" src=\"https://user-images.githubusercontent.com/46465568/201538851-99b051a7-b084-4919-993c-93f7efffd447.png\"\u003e\n\n# Workout Logger API\n\nThe GraphQL api for a very simple workout logger app I built for myself to track progression of weight I'm lifting for certain exercises.\n\n# Try It Out\n\n1. Go to https://workout-logger-api-ejtky726bq-uw.a.run.app/\n2. Do a login mutation to get the access token by pasting and running\n\n```\nmutation Login{\n  login(loginInput: {email:\"test@test.com\", password:\"password123\"}) {\n    accessToken\n    refreshToken\n  }\n}\n```\n\n3. take the access token and paste this into the header section at the bottom of the page\n\n```\n{\n  \"Authorization\": \"Bearer \u003cPASTE_ACCESS_TOKEN_HERE\u003e\"\n}\n```\n\n4. Click the docs button on the top left of the page and start running queries!\n\n# Techonologies Used\n\n- Go\n- GORM\n- GQLGen\n- GraphQL\n- PostgreSQL\n\n# Prereqs\n\n- A postgres db url\n- Go installed on your machine\n\n# Setup\n\n1. Clone repo\n2. `cd` into the root of the repo\n3. Have copy contents of `.test.env` into a new `.env` file\n4. Fill in and replace secrets and postgres database connection parameters\n5. Run `make dev` to start dev server or `make test` to run all integration tests\n\n# Commands\n\n- `make dev`: start dev environment\n- `make test`: run all test files\n- `make format`: format all code within repo\n- `make regenerate`: regenerate graphql resolvers from `schema.graphqls`\n- `make schema_json`: generate new `schema.json` file for the iOS client\n- `make deploy`: deploy to GCP Run\n\n# Deployment\n\n1. Follow default prompts\n2. Deploy to us-west1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneil-ptr%2Funtil-failure-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneil-ptr%2Funtil-failure-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneil-ptr%2Funtil-failure-api/lists"}