This application generates personalized gym plans using AI models based on user information. It consists of a frontend built with React, TypeScript, and Tailwind CSS, and a backend implemented with Hono, TypeScript, Groq-SDK for AI inference, and Cloudflare Workers for serverless operations.
- Personalized Gym Plans: Generate custom gym plans tailored to user input.
- AI Models: Utilize AI models for intelligent gym plan recommendations.
- Authentication: Secure user authentication powered by Firebase.
- Serverless Backend: Scalable backend operations leveraging Cloudflare Workers.
-
Frontend:
- React
- TypeScript
- Tailwind CSS
-
Backend:
- Hono
- TypeScript
- Groq-SDK
- Cloudflare Workers
-
Authentication:
- Firebase
Clone the repository:
git clone <repository-url>
cd <project-folder>
Install dependencies:
npm install
Set up Firebase:
- Configure Firebase authentication in your Firebase console.
- Update Firebase configuration in your frontend (
src/firebaseConfig.ts
).
Set up Environment Variables:
- Create a
.env
file in the root directory and configure necessary environment variables. - Example
.env
file:REACT_APP_BACKEND_URL=https://your-backend-url
Run the application locally:
npm start
This command starts the development server at http://localhost:3000
.
Access the application:
Open your web browser and go to http://localhost:3000
to access the application.
Deploy Backend: Deploy the backend using Cloudflare Workers or your preferred serverless platform.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/my-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/my-feature
). - Create a new Pull Request.