d98c208df9dc12976f76d7e1d9516e6536b34ff6
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
- Clone the repo
git clone https://git.filiprojek.cz/fr/habit-tracker.git
- 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.yamlwhich have both MariaDB and PhpMyAdmin
- 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
- Register and Login to the app.
- Add your habits.
- Mark your habits when you're done doing them.
- 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.
Description
An app for tracking your fuel consumption.
https://fuelstats.filiprojek.cz
512 KiB
Languages
PHP
78%
JavaScript
12.9%
CSS
8%
Hack
0.6%
Dockerfile
0.5%