{"id":48587798,"url":"https://github.com/wolney-fo/gymgo","last_synced_at":"2026-04-08T18:14:54.304Z","repository":{"id":257445943,"uuid":"789865207","full_name":"wolney-fo/gymgo","owner":"wolney-fo","description":"This project provides the back-end API for a gym membership platform, similar to Gympass. The application allows users to check in to their affiliated gyms and track their workout sessions.","archived":false,"fork":false,"pushed_at":"2024-09-16T16:47:16.000Z","size":861,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-17T21:11:41.892Z","etag":null,"topics":["api","dayjs","fastify","postgresql","prisma-orm","rbac","typescript","zod"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/wolney-fo.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":"2024-04-21T19:00:22.000Z","updated_at":"2024-09-16T16:48:17.000Z","dependencies_parsed_at":"2024-09-16T20:49:40.254Z","dependency_job_id":null,"html_url":"https://github.com/wolney-fo/gymgo","commit_stats":null,"previous_names":["wolney-fo/gymgo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wolney-fo/gymgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fgymgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fgymgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fgymgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fgymgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolney-fo","download_url":"https://codeload.github.com/wolney-fo/gymgo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fgymgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["api","dayjs","fastify","postgresql","prisma-orm","rbac","typescript","zod"],"created_at":"2026-04-08T18:14:54.146Z","updated_at":"2026-04-08T18:14:54.286Z","avatar_url":"https://github.com/wolney-fo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GymGo\n\nThis project provides the back-end API for a gym membership platform, similar to Gympass. The application allows users to check in to their affiliated gyms and track their workout sessions.\n\n## Requirements\n\n### Functional requirements\n\n- [x] It must be possible to register;\n- [x] It must be possible to authenticate;\n- [x] It must be possible to obtain the profile of a logged-in user;\n- [x] It must be possible to obtain the number of check-ins performed by the logged-in user;\n- [x] It must be possible for the user to obtain their check-in history;\n- [x] It must be possible for the user to search for nearby gyms;\n- [x] It must be possible for the user to search for gyms by name;\n- [x] It must be possible for the user to check in to a gym;\n- [x] It must be possible to validate a user's check-in;\n- [x] It must be possible to register a gym.\n\n### Business rules\n\n- [x] The user must not be able to register with a duplicate email;\n- [x] The user must not be able to check in more than once on the same day;\n- [x] The user must not be able to check in if they are not close (100 meters) to the gym;\n- [x] Check-in can only be validated up to 20 minutes after being created;\n- [x] Check-in can only be validated by administrators;\n- [x] The gym can only be registered by administrators;\n\n### Non-functional requirements\n\n- [x] The user's password must be encrypted;\n- [x] The application data must be persisted in a PostgreSQL database;\n- [x] All data lists must be paginated with 20 items per page;\n- [x] The user must be identified by a JWT (JSON Web Token);\n\n## Stack\n\n- Node.js\n- Typescript\n- Fastify\n- Prisma ORM\n- PostgreSQL\n- Dayjs\n- Zod\n\n## Contributing\n\nContributions are welcome! Please follow these steps to contribute:\n\n1. Fork the project.\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`).\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`).\n4. Push to the branch (`git push origin feature/AmazingFeature`).\n5. Open a pull request.\n\n## License\n\nMIT by [Wolney Oliveira](https://github.com/wolney-fo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolney-fo%2Fgymgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolney-fo%2Fgymgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolney-fo%2Fgymgo/lists"}