Skip to content

Web Programming & Agile Software Development Project 5th Semester Bina Nusantara University

Notifications You must be signed in to change notification settings

jeffersonnjohan/LifeBalance

Repository files navigation

LifeBalance

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.

Goals

  • 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.

Access Pitch Deck

Documentations

User Website Preview

Login Page, Profile Page, Home and Community Page

Workout Page, Meditation Page, Diet Page

Challenge Page, History Page

Admin Website Preview

Login As Admin

Manage Workout

Manage Meditation Soundtracks

Manage Diet

Manage Challenges

Features & Tech ⚙️

Laravel | Tailwind | MySQL | Javascript | VsCode

Clone & Run Laravel Project 📦

(Make sure your device have npm and composer installed)

Clone Project

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

To use the sociallite feature:

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

Use Storage File:

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

Migrate database

  • 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

Running the app

  • 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

Reference 🔗

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 ⭐

About

Web Programming & Agile Software Development Project 5th Semester Bina Nusantara University

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages