A comprehensive admin dashboard for managing the Fresh Fit fitness and wellness platform. Built with React and Vite for optimal performance and developer experience.
Fresh Fit Admin is a powerful web application that enables administrators to manage all aspects of the Fresh Fit platform, including user fitness programs, nutrition plans, community challenges, and platform analytics.
- Overview of user activity and engagement
- Create, edit, and organize workout routines
- Manage exercise libraries and exercise set
- Set difficulty levels and equipment requirements
- Upload instructional videos and images
- Design and manage nutrition plans
- Create meal recipes with nutritional information
- Organize meals by categories and dietary preferences
- Manage ingredient databases
- Create and monitor fitness challenges
- Set challenge parameters and rewards
- Manage fitness trainers and nutritionist profiles
- Track specialist performance and user ratings
- Comprehensive platform usage analytics
- User engagement and retention metrics
- Exercise and meal popularity tracking
- Get user detail reports
- Monitor user interactions and content
- Moderate community posts
- Platform configuration management
- System preferences and customization
- API and integration management
- Frontend Framework: React 18
- Build Tool: Vite
- Package Manager: Yarn
- Language: TypeScript
Before running this application, make sure you have the following installed:
- Node.js (version 16.0 or higher)
- Yarn (version 1.22 or higher)
- Clone the repository:
git clone https://github.com/DNM03/fresh-fit-admin.git
cd fresh-fit-admin- Install dependencies using Yarn:
yarn install- Create a
.envfile in the root directory and configure your environment variables:
VITE_API_URL=your_api_base_url
VITE_MEDIA_API_URL=example_media_api_url
VITE_MEDIA_BACKUP_URL=example_backup_url
VITE_API_PRODUCTION_URL=example_production_api_url
VITE_SERPER_API_KEY=example_key
VITE_FOOD_SEARCH_OAUTH_KEY=example_key
VITE_FOOD_SEARCH_OAUTH_SECRET=example_secretTo start the development server:
yarn devThe application will be available at http://localhost:5173
To build the application for production:
yarn buildThe built files will be generated in the dist directory.
To preview the production build locally:
yarn previewyarn dev- Start development serveryarn build- Build for productionyarn preview- Preview production buildyarn lint- Run ESLintyarn lint:fix- Fix ESLint errors automaticallyyarn type-check- Run TypeScript type checking
fresh-fit-admin/
├── public/ # Static assets
├── src/
│ ├── assets
│ ├── components/ # Reusable UI components
│ ├── constants
│ ├── features
│ ├── hooks
│ ├── lib
│ ├── pages/ # Application pages
│ │ ├── challenges/
│ │ ├── community/
│ │ ├── dashboard/
│ │ ├── exercises/
│ │ ├── forgot-password/
│ │ ├── login/
│ │ ├── meals/
│ │ ├── report/
│ │ ├── settings/
│ │ ├── specialist
│ │ └── statistics
│ ├── router/ # Custom React hooks
│ ├── services/ # API services
│ ├── utils/ # Utility functions
│ ├── types/ # TypeScript type definitions
│ └── App.tsx # Main application component
├── package.json
├── vite.config.ts
└── README.md
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Create a Pull Request
- Follow React best practices and hooks patterns
- Use TypeScript for type safety
- Write clean, self-documenting code
- Ensure responsive design for all components
- Test thoroughly before submitting pull requests
For support and questions about the Fresh Fit Admin application, please contact the development team or create an issue in the repository.
This project is proprietary software for Fresh Fit platform administration.
Fresh Fit Admin - Empowering administrators to create exceptional fitness experiences.