{"id":23266824,"url":"https://github.com/marcosvel/gym-personal","last_synced_at":"2025-06-28T00:03:53.589Z","repository":{"id":104199797,"uuid":"586438266","full_name":"MarcosVel/Gym-personal","owner":"MarcosVel","description":"Gym training app with backend integration (Rest API), declarative interfaces with component library, authentication, controlled forms, refresh token and file upload from user photo gallery.","archived":false,"fork":false,"pushed_at":"2024-06-18T05:18:45.000Z","size":14200,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T08:18:13.888Z","etag":null,"topics":["authentication","axios-interceptors","expo-dev-client","filesystem","image-picker","native-base","onesignal-notifications","rest-api","skeleton","svg-icons"],"latest_commit_sha":null,"homepage":"https://www.figma.com/file/dmy30vjOfj0D2JrKGdb0Df/Ignite-Gym-(Community)?node-id=37%3A6\u0026t=dka1Fntc6qPobQcE-1","language":"TypeScript","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/MarcosVel.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":"2023-01-08T06:00:36.000Z","updated_at":"2024-06-18T05:18:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"99dd0553-63fc-4612-a4a3-37621d8ebfcd","html_url":"https://github.com/MarcosVel/Gym-personal","commit_stats":null,"previous_names":["marcosvel/gym-personal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarcosVel/Gym-personal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosVel%2FGym-personal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosVel%2FGym-personal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosVel%2FGym-personal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosVel%2FGym-personal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcosVel","download_url":"https://codeload.github.com/MarcosVel/Gym-personal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosVel%2FGym-personal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262352568,"owners_count":23297684,"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","axios-interceptors","expo-dev-client","filesystem","image-picker","native-base","onesignal-notifications","rest-api","skeleton","svg-icons"],"created_at":"2024-12-19T16:32:04.487Z","updated_at":"2025-06-28T00:03:53.566Z","avatar_url":"https://github.com/MarcosVel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gym Personal\n\n## Overview\n\nGym Personal is a gym training app that integrates with a backend to provide features like authentication, controlled forms, refresh tokens, and file uploads from the user photo gallery. This project showcases the use of declarative interfaces with a component library, and backend integration through a REST API.\n\n## 🧐 Features\n\n- **User Authentication**: Secure login and registration system with JWT and refresh tokens.\n- **Training Management**: Create and view training sessions.\n- **File Uploads**: Upload user profile pictures from the gallery.\n- **Responsive Design**: Optimized for various screen sizes.\n- **Notifications**: Push notifications using OneSignal.\n- **RESTful API**: Backend services with Node.js and Express.\n- **Declarative UI**: Built with a component library for clean and maintainable code.\n\n## 💻 Front-end Technologies Used\n\n- **Expo**: To streamline the development process having access to Android and iOS folders throught `expo-dev-client`.\n- **TypeScript**: Ensures type safety and code quality.\n- **Native Base**: Component library for building the UI.\n- **Axios**: For making API requests.\n- **React Native**: For navigation.\n- **Hook-form \u0026 Yup**: For handling form state and validation.\n- **React Navigation**: For navigation within the app.\n- **Expo Image Picker**: For handling image uploads.\n- **OneSignal**: For push notifications.\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js and yarn\n- React Native CLI\n- Expo CLI\n\n### 🛠️ Installation\n\n1. **Clone the repository**:\n    ```sh\n    git clone https://github.com/MarcosVel/Gym-personal.git\n    cd Gym-personal\n    ```\n\n2. **Backend Setup**:\n    ```sh\n    cd backend\n    yarn\n    yarn start\n    ```\n\n3. **Mobile App Setup**:\n    ```sh\n    cd mobile\n    yarn\n    npx expo start\n    ```\n\n### Configuration\n\n**Mobile**:\n- Update `mobile/.env.example` to `.env` and put your ONESIGNAL_APP_ID.\n- Update `mobile/src/services/api.js` with your baseURL.\n\n## Usage\n\n1. **Start the backend server**:\n    ```sh\n    cd backend\n    npm start\n    ```\n\n2. **Run the mobile app**:\n    ```sh\n    cd mobile\n    npx expo start\n    ```\n\n3. **Access the app**:\n\nUse the emulator or physical device to navigate through the app, manage training sessions, and interact with other features in real-time.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosvel%2Fgym-personal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcosvel%2Fgym-personal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosvel%2Fgym-personal/lists"}