Fit Social is a primarily mobile social media platform that allows users to track, share, and compare their fitness progress. The ultimate goal of Fit Social is to bring people who have the same passion for fitness together and help them to gain motivation and information toward accomplishing their fitness goals.
Fit Social uses Rust with Rocket.rs and SurrealDB in the backend, and React Native and Node for the frontend.
Dev doc Documentation for developers.
User doc Documentation for users.
docs: The organizational documents relevant to the project; schedules, goals, and roles.
frontend: Files relevant to the frontend of the project; static frontend files.
backend: Files relevant to the backend of the project; static backend files.
- Backend infastructure (authentication, database, model, and network layer)
- Frontend application navigation infastructure
- Ability to add fitness data widgets, with insights like progress in a given timeframe
- Ability to upload and track fitness data on widgets
- Main page and content viewing
- Settings
Before running, make sure you have Rust installed and on the frontend directory run
npm i
To run the backend server, go to backend and switch to the nightly version of rust
rustup default nightly
Then, run
cargo run
To serve the frontend, go to frontend and run
npm start
You can then scan the QR code or click on the entry in Expo Go to run on mobile. You may be able to run the app on a Mac using an emulator, more information can be found here. It has not been tested if the app works on Android, but theoretically it should work. Note we do not currently support running the frontend on web.
You can test the backend by going to the backend and running
cargo test
You can test if the frontend builds by going to the frontend and running
npm run build --if-present