https://github.com/casmei/geo-gym-api
This is a simple API for managing gyms and user check-ins based on geolocation.
https://github.com/casmei/geo-gym-api
api-rest docker fastify
Last synced: about 2 months ago
JSON representation
This is a simple API for managing gyms and user check-ins based on geolocation.
- Host: GitHub
- URL: https://github.com/casmei/geo-gym-api
- Owner: Casmei
- Created: 2025-06-02T18:42:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-28T14:21:56.000Z (11 months ago)
- Last Synced: 2025-07-28T15:40:26.892Z (11 months ago)
- Topics: api-rest, docker, fastify
- Language: TypeScript
- Homepage:
- Size: 552 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README

[](https://github.com/Casmei/gympass-study/actions/workflows/run-unit-tests.yml)

[](https://github.com/Casmei/gympass-study/raw/main/insomnia.yaml)
# Geo Gym
This is a simple API for managing gyms and user check-ins based on geolocation.
## What it does
- Allows users to register and authenticate
- Admin users can create gyms
- Users can search for gyms and find nearby locations using latitude and longitude
- Users can check in at the nearest gym
- Admins can validate user check-ins
- Users can view their check-in history and metrics
## Technical highlights
- Clean architecture with separation of concerns
- Use cases organized with clear business logic boundaries
- Dependency inversion with repository pattern
- In-memory repositories for unit testing
- Factory pattern easy setup in controller
- Unit and end-to-end tests using Vitest
- Fast and isolated test execution
- Built with TypeScript and Fastify