- π Overview
- π¦ Features
- π Structure
- π» Installation
- ποΈ Usage
- π Hosting
- π License
- π Authors
This repository contains a Minimum Viable Product (MVP) called "FitLog-txsgnu" that empowers fitness enthusiasts to track their progress towards their goals and share their achievements with their network. The application combines personalized goal setting, comprehensive progress tracking, and social features to create a motivating and engaging experience.
Feature | Description |
---|---|
Goal Setting | Users can set personalized fitness goals in various categories (weight loss, exercise, nutrition) with specific targets, timelines, and desired outcomes. |
Progress Tracking | Track workouts, log food intake, and visualize progress towards goals through charts and graphs. Receive personalized feedback on performance. |
Social Sharing | Connect with friends, share achievements and milestones, and send motivational messages to support each other. |
User Profile | Manage personal information, view goal history, and adjust account settings. |
Dashboard | Get a personalized overview of progress, recent activities, and insights based on logged data. |
User-Friendly Interface | A simple and intuitive interface design ensures a smooth and engaging user experience for all levels of fitness enthusiasts. |
Data Security | Robust security measures protect user information through secure storage, encryption, and access controls. |
Scalable Architecture | Designed to handle a growing user base and increasing data volume. |
API Integrations | Potential integration with fitness trackers and other health apps for seamless data synchronization. |
Regular Updates | The application will be regularly updated with new features and improvements based on user feedback. |
ββ components
ββ GoalForm.tsx
ββ WorkoutLog.tsx
ββ MealLog.tsx
ββ ProgressChart.tsx
ββ FriendRequest.tsx
ββ FriendList.tsx
ββ UserProfile.tsx
ββ GoalCard.tsx
ββ ActivityCard.tsx
ββ SocialFeed.tsx
ββ Navigation.tsx
ββ Header.tsx
ββ pages
ββ api
β ββ auth
β β ββ [...nextauth].js
β ββ goals
β β ββ [id].js
β ββ workouts
β β ββ [id].js
β ββ meals
β β ββ [id].js
β ββ friends
β β ββ [id].js
β ββ user
β ββ [id].js
ββ _app.tsx
ββ dashboard
β ββ page.tsx
ββ goals
β ββ page.tsx
ββ workouts
β ββ page.tsx
ββ meals
β ββ page.tsx
ββ friends
β ββ page.tsx
ββ profile
ββ page.tsx
ββ prisma
ββ migrations
β ββ 20240208004202_init
β ββ migration.sql
β ββ migration.prisma
ββ schema.prisma
ββ styles
ββ globals.css
ββ utils
ββ helpers.js
ββ index.js
ββ app
ββ layout.tsx
ββ next.config.mjs
ββ package.json
ββ postcss.config.mjs
ββ tailwind.config.js
ββ tsconfig.json
ββ README.md
- Node.js
- npm
- Docker
- Clone the repository:
git clone https://github.com/spectra-ai-codegen/FitLog-txsgnu.git
- Navigate to the project directory:
cd FitLog-txsgnu
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and navigate to http://localhost:3000.
Adjust configuration settings in next.config.mjs
or .env
file.
- Goal Setting: Set a weight loss goal of 2 pounds per week, with a target weight of 150 pounds and a timeline of 8 weeks.
- Progress Tracking: Log a 30-minute cardio workout, including the type of exercise, duration, intensity, and calories burned.
- Social Sharing: Share your latest workout achievement with your friends and send motivational messages to encourage them.
- Install the Heroku CLI:
npm install -g heroku
- Login to Heroku:
heroku login
- Create a new Heroku app:
heroku create
- Deploy the code:
git push heroku main
DATABASE_URL
: Database connection string for PostgreSQL.
- GET /api/users: Retrieves a list of users.
- POST /api/users: Creates a new user.
- GET /api/users/:id: Retrieves a specific user's information.
- PUT /api/users/:id: Updates a user's information.
- DELETE /api/users/:id: Deletes a user.
- Use NextAuth.js for user authentication, supporting various providers like Google, Facebook, and GitHub.
curl -X GET http://localhost:3000/api/users
This project is licensed under the GNU AGPLv3.
- Author Name - Spectra.codes
- Creator Name - DRIX10
Why only generate Code? When you can generate the whole Repository!