LifeBalance is a wellness website that combines personalized workout plans, diet guidance, soothing meditation soundtracks, body tracking and gamified quests to motivate users in their pursuit of a balanced and healthy lifestyle. With tailored exercise routines for all fitness levels, the website helps users reach their fitness goals, while providing customized meal suggestions and nutritional information for a nourishing diet. Additionally, the app offers a collection of calming meditation soundtracks to promote relaxation and mindfulness. The inclusion of quests and challenges gamifies the wellness journey, offering rewards, achievements, and levels of progression, creating a sense of accomplishment and motivation. LifeBalance is designed to be a trusted companion, supporting users in their holistic well-being and personal growth.
- Help users maintain a balanced and healthy lifestyle
- Offer customized diet plans to promote healthy eating habits and support nutritional needs.
- Provide soothing meditation soundtracks to facilitate relaxation, reduce stress, and enhance mindfulness.
- Incorporate gamified quests and challenges to motivate users and foster a sense of accomplishment.
- User-friendly interface that facilitates easy navigation and seamless user experience.
(Make sure your device have npm and composer installed)
In a terminal:
- Clone the repository
git clone https://github.com/jeffersonnjohan/LifeBalance.git
- Redirect to cloned folder
cd .\LifeBalance\
- Install composer
composer install
- Install tailwindcss and its peer dependencies via npm
npm install -D tailwindcss postcss autoprefixer
- Run build process
npm run dev
Open a new terminal (make sure you're in the right directory):
- Make copy of env.example into .env
copy .env.example .env
- Generate the APP_KEY value in your .env file
php artisan key:generate
In the terminal, type
- Use the Composer package manager to add the package to your project's dependencies
composer require laravel/socialite
- check the credentials for the OAuth providers, placed in your application's [
config/services.php
]. If the configuration is not present, please enter the necessary details.
'github' => [
'client_id' => env('GITHUB_CLIENT_ID'),
'client_secret' => env('GITHUB_CLIENT_SECRET'),
'redirect' => '/auth/github/callback',
],
- Placed on your [
.env
] file
GITHUB_CLIENT_ID=Iv1.87af03adaf87ba61
GITHUB_CLIENT_SECRET=a3c735c0e4d6e4e442916ad9e2e1b0f4467838e3
Follow this step to show the image from the database seeder
- to create the symbolic link, type the artisan command:
php artisan storage:link
- On your [
.env
] file, type:
FILESYSTEM_DISK=public
- copy all of the file from [
public/seeder data
] folder, except for the workout-activities into [public/storage
] folder
- create a database in phpmyadmin, mysql workbench, or other playform that use SQL, with the database name as lifebalance
- In [
.env
] file, adjust the DB_PORT and DB_PASSWORD with your database platform. - Migrate the table by typing the artisan command:
php artisan migrate:fresh --seed
- Run application on a PHP development server
php artisan serve
- Make sure npm has started by typing
npm run dev
- To access the website, type on your browser:
http://localhost:8000
- https://developer.mozilla.org/en-US/docs/Web/JavaScript
- https://dev.mysql.com/doc/
- https://laravel.com/docs/10.x/readme
- https://nodejs.org/en/download
- https://phoenixnap.com/kb/install-node-js-npm-on-windows
- https://tailwindcss.com/docs/guides/laravel
Follow us here 🌿
Chrystalia Glenys |
Daniel Zerge |
Jefferson Johan |
Nadya Clarine |
Winita Priyanto
Don't forget to leave a star if you find this repository helpful ⭐