Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronmcleancs/repbook-demoserver
Full-Stack iOS Fitness Assistant made in Objective-C and Swift deployed with a Demo Node.js SQL Backend.
https://github.com/aaronmcleancs/repbook-demoserver
authentication database full-stack nodejs postgresql rest-api swift
Last synced: 9 days ago
JSON representation
Full-Stack iOS Fitness Assistant made in Objective-C and Swift deployed with a Demo Node.js SQL Backend.
- Host: GitHub
- URL: https://github.com/aaronmcleancs/repbook-demoserver
- Owner: aaronmcleancs
- Created: 2024-08-17T09:08:17.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-19T14:42:20.000Z (about 1 month ago)
- Last Synced: 2024-12-19T15:43:40.639Z (about 1 month ago)
- Topics: authentication, database, full-stack, nodejs, postgresql, rest-api, swift
- Language: Swift
- Homepage:
- Size: 25.5 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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 RepBookBackend Setup
cd /backend
npm install
# Replace OpenAI API Key in configuration
node repbook.jsServer Setup
- Run Demo Server in PostgreSQLFrontend 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 |