GymFit+ is a modern fitness web application that integrates user authentication with features like Google Authentication, database storage for user details, and a seamless login/signup experience.
-
User Authentication: Secure user login and signup with JWT authentication.
-
Google Authentication: Social login via Google.
-
Responsive UI: Built with React and Material UI for a clean and modern look.
-
Protected Routes: Secure pages that require authentication.
-
Hosted on GitHub Pages: Deployment handled via GitHub Actions.
- Frontend: React, React Router, Axios, Material UI
- Authentication: JWT (JSON Web Token), Google OAuth
- Hosting: GitHub Pages (Frontend)
- Clone the repository:
git clone https://github.com/your-username/GymFit.git cd GymFit - Install dependencies:
npm install
- Start the frontend development server:
npm run dev
- Build the project:
npm run build
- Deploy using GitHub Pages:
npm run deploy
- User Signup:
POST /register - User Login:
POST /login - Google OAuth Login:
GET /auth/google - Fetch User Details:
GET /user
- Fork the repository.
- Create a new branch:
git checkout -b feature-name - Commit your changes:
git commit -m 'Add new feature' - Push to the branch:
git push origin feature-name - Open a Pull Request.