A web application designed to empower fitness enthusiasts to effortlessly track their fitness goals, monitor their progress, and share their achievements with friends.
- π Overview
- π¦ Features
- π Structure
- π» Installation
- ποΈ Usage
- π Hosting
- π License
- π Authors
The repository contains a Minimum Viable Product (MVP) called "FitTrack" that provides a comprehensive solution for fitness goal tracking using the following tech stack: Next.js, React, JavaScript, HTML, CSS, Node.js, and PostgreSQL.
Feature | Description | |
---|---|---|
π | User Authentication | Securely create and manage user accounts with email and password authentication or utilize social logins for seamless account creation. |
π― | Goal Setting | Define personalized fitness goals with clear objectives, timelines, and tracking metrics. |
π | Progress Tracking | Track user progress against set goals using visually engaging dashboards, graphs, and reports that offer insights into individual progress. |
π€ | Social Sharing | Share progress, achievements, and motivational messages with friends and a supportive community. |
π¨ | Customization | Personalize the experience with custom themes, settings, and preferences. |
π | Accessibility | Optimized user experience across various devices and platforms, including smartphones, tablets, and desktops. |
π | Integrations | Seamlessly integrate with popular fitness trackers and devices like Fitbit, Garmin, and Apple Health. |
π | Analytics | Provide users with insightful analytics that offer valuable data about their progress and performance. |
β‘οΈ | Performance | Fast loading times and seamless user interactions for a smooth and enjoyable user experience. |
π | Security | Prioritize user data security by implementing secure user authentication, data encryption, and industry-standard security best practices. |
π | Scalability | Designed to be scalable, accommodating a growing user base and new features without compromising performance. |
π¨βπ¨ | User-Centric Experience | A user-friendly interface with intuitive navigation and a mobile-first approach. |
ββ components
ββ Button.tsx
ββ Header.tsx
ββ Layout.tsx
ββ GoalInput.tsx
ββ ProgressChart.tsx
ββ SocialShareButton.tsx
ββ pages
ββ api
β ββ auth.ts
β ββ goals.ts
β ββ progress.ts
ββ _app.tsx
ββ index.tsx
ββ dashboard.tsx
ββ login.tsx
ββ styles
ββ global.css
ββ utils
ββ helpers.ts
ββ api.ts
ββ auth.ts
ββ validation.ts
ββ config
ββ next-auth.config.ts
ββ middleware
ββ authentication.ts
ββ .env
ββ package.json
ββ README.md
ββ tailwind.config.ts
ββ tsconfig.json
- Node.js
- npm
- Docker
- Clone the repository:
git clone https://github.com/coslynx/FitTrack-MVP.git
- Navigate to the MVP directory:
cd FitTrack-MVP
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and navigate to http://localhost:3000.
Adjust configuration settings in 'config.js' or '.env'.
- π Example 1: How to set a fitness goal.
- π Example 2: How to track progress through the dashboard.
- π Example 3: How to share your achievements with friends.
- Login to Vercel.
- Select "New Project".
- Import the project from Git by providing the repository URL.
- Deploy the application.
- Login to Netlify.
- Click "New site from Git".
- Choose GitHub as the source.
- Select the repository.
- Deploy the application.
- Configure the GitHub Pages settings in the repository.
- Push the changes to the repository.
- Access the deployed application through the generated GitHub Pages URL.
DB_HOST
: Database hostDB_USER
: Database userDB_PASS
: Database password
- GET /api/auth: Handles user authentication actions (signup, login, logout).
- GET /api/goals: Manages user fitness goals (create, update, delete, retrieve).
- GET /api/progress: Retrieves user progress data for visualization.
Use JWT tokens for authentication.
curl -X GET http://localhost:3000/api/auth
This MVP is licensed under the GNU AGPLv3.
- Author Name - CosLynx.com
- Creator Name - CosLynxAI
Create Your Custom MVP in Minutes With CosLynxAI!