Skip to content

Full-Stack iOS Fitness Assistant made in Objective-C and Swift deployed with a Demo Node.js SQL Backend.

Notifications You must be signed in to change notification settings

aaronmcleancs/RepBook-DemoServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack iOS Fitness Tracking Application (Objective-C, Node.js, Express, PostresSQL)

Good template for basic user auth and multiview

===============================================

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

About

Full-Stack iOS Fitness Assistant made in Objective-C and Swift deployed with a Demo Node.js SQL Backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published