{"id":20601010,"url":"https://github.com/aaronmcleancs/repbook-demoserver","last_synced_at":"2025-09-26T09:30:29.730Z","repository":{"id":253511913,"uuid":"843737179","full_name":"aaronmcleancs/RepBook-DemoServer","owner":"aaronmcleancs","description":"Full-Stack iOS Fitness Assistant made in Objective-C and Swift deployed with a Demo Node.js SQL Backend.","archived":false,"fork":false,"pushed_at":"2024-12-19T14:42:20.000Z","size":26707,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-19T15:43:40.639Z","etag":null,"topics":["authentication","database","full-stack","nodejs","postgresql","rest-api","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/aaronmcleancs.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-08-17T09:08:17.000Z","updated_at":"2024-12-19T14:42:37.000Z","dependencies_parsed_at":"2024-10-17T16:09:34.424Z","dependency_job_id":"9b9751f0-3ad3-44a6-a529-7663b70547c0","html_url":"https://github.com/aaronmcleancs/RepBook-DemoServer","commit_stats":null,"previous_names":["aaronm26/repbook-public","aaronmcleancs/repbook-demoserver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmcleancs%2FRepBook-DemoServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmcleancs%2FRepBook-DemoServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmcleancs%2FRepBook-DemoServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmcleancs%2FRepBook-DemoServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronmcleancs","download_url":"https://codeload.github.com/aaronmcleancs/RepBook-DemoServer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234300372,"owners_count":18810607,"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":["authentication","database","full-stack","nodejs","postgresql","rest-api","swift"],"created_at":"2024-11-16T09:08:05.154Z","updated_at":"2025-09-26T09:30:29.724Z","avatar_url":"https://github.com/aaronmcleancs.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"Full Stack iOS Fitness Tracking Application (Objective-C, Node.js, Express, PostresSQL) \n\nGood template for basic user auth and semantics fetching for chatbot\n\n\u003ctable style=\"border-collapse: separate; border-spacing: 10px;\"\u003e\n  \u003ctr\u003e\n    \u003ctd style=\"text-align: center; vertical-align: top; width: 200px;\"\u003e\n      \u003cimg src=\"https://github.com/user-attachments/assets/5ba9fb6a-a443-4630-a410-58f050833e32\" width=\"200\" height=\"400\" /\u003e\n    \u003c/td\u003e\n    \u003ctd style=\"text-align: center; vertical-align: top; width: 200px;\"\u003e\n      \u003cimg src=\"https://github.com/user-attachments/assets/fd344156-c0f8-4005-a561-59f4ff8404c2\" width=\"200\" height=\"400\" /\u003e\n    \u003c/td\u003e\n    \u003ctd style=\"text-align: center; vertical-align: top; width: 200px;\"\u003e\n      \u003cimg src=\"https://github.com/user-attachments/assets/0aa57b5b-f10f-408f-888f-5286a79993cd\" width=\"200\" height=\"400\" /\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n\n===============================================\n\nInstallation and Setup\n-----------------------\ngit clone https://github.com/AaronM26/RepBook.git\ncd RepBook\n\n  Backend Setup\ncd /backend\nnpm install\n# Replace OpenAI API Key in configuration\nnode repbook.js\n\nServer Setup\n- Run Demo Server in PostgreSQL\n\nFrontend Setup\n- Open `RepBook.xcodeproj` in Xcode\n- Replace Server IP with your Postgres server IP\n- Run the project in a simulator (iOS 17.x+)\n\n### RESTful API Endpoints\n\n| Endpoint                          | Method | Description                  |\n|-----------------------------------|--------|------------------------------|\n| `/api/signup`                     | POST   | User Signup                  |\n| `/api/login`                      | POST   | User Login                   |\n| `/api/checkUsername/:username`    | GET    | Check Username Availability  |\n| `/api/exercises`                  | POST   | Add Exercises to Workout     |\n| `/api/updateUserInfo/:memberId`   | POST   | Update User Information      |\n| `/api/userDataAndMetrics/:memberId`| GET   | Fetch User Data and Metrics  |\n| `/api/setGymMembership`           | POST   | Set Gym Membership           |\n| `/api/workouts/:memberId`         | GET    | Get Workouts                 |\n| `/api/membersMetrics/:memberId`   | GET    | Get Member's Metrics         |\n| `/api/createWorkout/:memberId`    | POST   | Create Workout               |\n| `/api/exercises`                  | GET    | Fetch Exercises              |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronmcleancs%2Frepbook-demoserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronmcleancs%2Frepbook-demoserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronmcleancs%2Frepbook-demoserver/lists"}