{"id":50452360,"url":"https://github.com/sumer312/fitness_app","last_synced_at":"2026-06-02T22:00:30.316Z","repository":{"id":213741162,"uuid":"681168742","full_name":"Sumer312/Fitness_App","owner":"Sumer312","description":"A fitness app that tracks your calories \u0026 progress based on your program.","archived":false,"fork":false,"pushed_at":"2025-12-15T18:10:59.000Z","size":14888,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T01:15:14.282Z","etag":null,"topics":["go","go-templ","goose","htmx","postgresql","sqlc"],"latest_commit_sha":null,"homepage":"https://fitness-app-89xd.onrender.com/","language":"templ","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/Sumer312.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-21T12:21:38.000Z","updated_at":"2025-12-15T18:11:03.000Z","dependencies_parsed_at":"2024-01-03T14:27:27.453Z","dependency_job_id":"35473e61-3c80-4d04-b402-076498d9974a","html_url":"https://github.com/Sumer312/Fitness_App","commit_stats":null,"previous_names":["sumer312/health-app-backend","sumer312/fitness_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sumer312/Fitness_App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer312%2FFitness_App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer312%2FFitness_App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer312%2FFitness_App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer312%2FFitness_App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sumer312","download_url":"https://codeload.github.com/Sumer312/Fitness_App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer312%2FFitness_App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33755369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["go","go-templ","goose","htmx","postgresql","sqlc"],"created_at":"2026-06-01T01:00:18.438Z","updated_at":"2026-06-01T01:00:34.819Z","avatar_url":"https://github.com/Sumer312.png","language":"templ","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"./static/img.icons8.png\" width=\"50\" height=\"50\"/\u003e GoFit\n\n#### Description\nThis is a personal project, it is a full fledged fitness tracker. There are 3 programs a user can select, fat loss, muscle gain and maintenance. Your calorie\ndeficit or surplus will be calculated based on the program you've selected and your weight, height, current weight and desired weight. It comes with a \ncalorie calculator where you can enter the prompt in human readable text like \"200 ml of whole milk\" and it will output the nutrition of the input prompt.\nYou can even track your progress.\n\u003cbr\u003e\n\u003cbr\u003e\n\n#### Motivation\nMotivation for making this project was that I wanted an application to suggest the amount of calories something had and I wanted it to show me my deficit\nif I am cutting or my surplus if I am bulking. I also was learning Go and HTMX and saw this as a great idea for a personal project.\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Interface\n### Desktop\n\n*Program selection*\n\n\u003cimg src=\"./static/screenshots/homepage.png\" /\u003e \n\n*User logs*\n\n\u003cimg src=\"./static/screenshots/user_logs.png\" /\u003e \n\n*User profile*\n\n\u003cimg src=\"./static/screenshots/user_profile.png\" /\u003e \n\n*Daily input tracker*\n\n\u003cimg src=\"./static/screenshots/daily_input_tracker.png\" /\u003e \n\n*Signup page*\n\n\u003cimg src=\"./static/screenshots/signup.png\" /\u003e \n\n*Calorie calculator*\n\n\u003cimg src=\"./static/screenshots/calorie_calc.png\" /\u003e \n\n### Mobile\n\n\u003cp\u003e\n    \u003cimg src=\"./static/screenshots/mobile_interface.png\" width=\"49%\" /\u003e \n    \u003cimg src=\"./static/screenshots/mobile_homepage.png\" width=\"49%\"/\u003e\n\u003c/p\u003e\n\n\n## Run\n#### Setting up environment\n###### Installing Go\n```bash\nrm -rf /usr/local/go \u0026\u0026 tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gzmake build\nexport PATH=$PATH:/usr/local/go/bin\ngo version\n```\n###### Installing Docker \u0026\u0026 postgres\n```bash\nsudo apt update\nsudo apt install curl\ncurl -fsSL https://get.docker.com/ | sh\ndocker pull postgres\ndocker run -d --name \u003cname\u003e -p 5432:5432 -e POSTGRES_PASSWORD=\u003cpassword\u003e postgres\ndocker exec -it \u003cname\u003e bash\npsql -h localhost -U postgres\nCREATE DATABASE fitness;\n```\n###### Create a .env file with these parameters\n```env\nDB_TYPE=postgres\nDB_URL=postgres://postgres:\u003cyour-password\u003e@172.17.0.2:5432/fitness?sslmode=disable\nBASE_URL=http://localhost:5000\nJWT_SECRET=\u003cyour-secret\u003e\nAPI_APP_KEY=\u003cyour-api-key\u003e\nAPI_ACCESS_POINT=\u003cyour-access-point\u003e\nAPI_APP_ID=\u003cyour-api-id\u003e\n```\n###### For api use [edamam](https://developer.edamam.com/edamam-nutrition-api-demo)\n#### Execution\n```bash\ndocker start \u003cname-of-postgres-continer\u003e\nmake intall\nmake migrageUp\nmake queries\nmake build\nmake run\n```\n\n## Tech Stack\n+ **Frontend**\\\n    ![Templ](https://img.shields.io/badge/Templ-%252300ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=yellow\u0026logoSize=auto\u0026color=black)\n    ![Htmx](https://img.shields.io/badge/htmx-36C?logo=htmx\u0026logoColor=fff\u0026style=for-the-badge\u0026logoSize=auto)\n    ![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?logo=javascript\u0026logoColor=000\u0026style=for-the-badge\u0026logoSize=auto)\n    ![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge\u0026logo=tailwind-css\u0026logoSize=auto\u0026logoColor=white)\n    ![DaisyUI](https://img.shields.io/badge/daisyui-5A0EF8?style=for-the-badge\u0026logo=daisyui\u0026logoSize=auto\u0026logoColor=white)\n+ **Backend**\\\n    ![Go](https://img.shields.io/badge/Golang-%252300ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white\u0026logoSize=auto\u0026color=blue)\n+ **Database**\\\n    ![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white\u0026logoSize=auto)\n+ **Libraries**\\\n    ![Chi](https://img.shields.io/badge/Chi-%252300ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=green\u0026logoSize=auto\u0026color=white)\n    ![JWT](https://img.shields.io/badge/JWT-black?style=for-the-badge\u0026logo=JSON%20web%20tokens\u0026logoSize=auto)\n+ **Tools**\\\n    ![Goose](https://img.shields.io/badge/Goose-%252300ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=orange\u0026logoSize=auto\u0026color=white)\n    ![Sqlc](https://img.shields.io/badge/Sqlc-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoSize=auto\u0026logoColor=yellow\u0026color=black)\n    ![Psql](https://img.shields.io/badge/psql-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoSize=auto\u0026logoColor=violet\u0026color=black)\n    ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge\u0026logo=docker\u0026logoSize=auto\u0026logoColor=white)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumer312%2Ffitness_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumer312%2Ffitness_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumer312%2Ffitness_app/lists"}