{"repo":"aaronmcleancs/RepBook-DemoServer","free":true,"listed":false,"github":"https://github.com/aaronmcleancs/RepBook-DemoServer","clone":"git clone https://github.com/aaronmcleancs/RepBook-DemoServer.git","description":"Full-stack iOS fitness assistant made in Objective-C and Swift deployed with a demo Node.js SQL backend.","language":"Swift","stars":14,"topics":["authentication","nodejs","postgresql","rest-api","swift","database","full-stack"],"license":null,"category":"databases-storage","readme_excerpt":"Full Stack iOS Fitness Tracking Application (Objective-C, Node.js, Express, PostresSQL) Good template for basic user auth and semantics fetching for chatbot =============================================== Installation and Setup ----------------------- git clone https://github.com/AaronM26/RepBook.git cd RepBook Backend Setup cd /backend npm install Replace OpenAI API Key in configuration node repbook.js Server Setup - Run Demo Server in PostgreSQL Frontend Setup - Open RepBook.xcodeproj in Xcode - Replace Server IP with your Postgres server IP - Run the project in a simulator (iOS 17.x+) RESTful API Endpoints Endpoint Method Description ----------------------------------- -------- ------------------------------ /api/signup POST User Signup /api/login POST User Login /api/checkUsername/:username GET Check Username Availability /api/exercises POST Add Exercises to Workout /api/updateUserInfo/:memberId POST Update User Information /api/userDataAndMetrics/:memberId GET Fetch User Data and Metrics /api/setGymMembership POST Set Gym Membership /api/workouts/:memberId GET Get Workouts /api/membersMetrics/:memberId GET Get Member's Metrics /api/createWorkout/:memberId POST Create Workout /api/exercises GET Fetch Exercises","default_branch":null,"files":null,"tree":[],"storefront":"/r/aaronmcleancs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aaronmcleancs/RepBook-DemoServer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}