An app for tracking your fuel consumption and optimizing your driving efficiency. https://fuelstats.filiprojek.cz
Go to file
2024-12-31 10:46:32 +01:00
.docker Added: Dockerfile and docker support 2024-12-27 02:29:07 +01:00
app Added: Habits dashboard 2024-12-30 14:35:16 +01:00
config Added: environment.php.example 2024-12-27 14:18:38 +01:00
core Added: No-header layout, signup/signin link enhancements, and header design updates 2024-12-27 15:05:55 +01:00
public Added: Habits dashboard 2024-12-30 14:35:16 +01:00
storage/logs Added: MVC structure, Router, Views and Controllers for home page and login/signup 2024-12-25 23:02:09 +01:00
.dockerignore Added: Dockerfile and docker support 2024-12-27 02:29:07 +01:00
.gitignore Added: .gitignore 2024-12-27 02:35:40 +01:00
docker-compose.yaml Edited: docker-compose.yaml 2024-12-31 10:46:32 +01:00
Dockerfile Added: Dockerfile and docker support 2024-12-27 02:29:07 +01:00
LICENSE Initial commit 2024-12-25 22:46:20 +01:00
README.md Edited: README.md - start local server in correct folder 2024-12-28 22:27:24 +01:00
TODO.md Added: favicon, Dashboard, Habits list, some styles, dashboard redirect 2024-12-27 02:06:32 +01:00

Habit Tracker

An app for tracking habits and motivation to achieve personal goals

Used technologies

  • Frontend: HTML, CSS, JavaScript
  • Backend: PHP (OOP)
  • Database: MariaDB

How to build

Build using docker

Run the container using docker-compose

docker-compose up

The app should be available at http://localhost:8000

PhpMyAdmin should be available at http://localhost:8080

Build manually

  1. Clone the repo
   git clone https://git.filiprojek.cz/fr/habit-tracker.git
  1. Create config/environment.php
  • It should have following structure:
<?php

define('DB_HOST', 'your db host');
define('DB_USER', 'your db username'); 
define('DB_PASS', 'your db password');
define('DB_NAME', 'your db name'); 
  • For the database, you can use included docker-compose.yaml which have both MariaDB and PhpMyAdmin
  1. Start an local web server
  • You can use php's integrated server by running this:
php -S localhost:8000 -t ./public
  • You can use any host and any port you want.

Usage

  1. Register and Login to the app.
  2. Add your habits.
  3. Mark your habits when you're done doing them.
  4. Earn point and unlock achievements by completing you're habits!

Licence

This project is licensed under GPL3.0 and later. More information is availabe in LICENSE file.