An open API service indexing awesome lists of open source software.

https://github.com/karsterr/habitrack

An open-source Android habit tracking app built with Flutter, supported by a Go + PostgreSQL backend running in Docker. Features include habit creation, daily tracking, reminders, and simple habit-based analytics.
https://github.com/karsterr/habitrack

android docker flutter golang habit-tracking mobile-app open-source personal-development postgres postgresql productivity

Last synced: 5 months ago
JSON representation

An open-source Android habit tracking app built with Flutter, supported by a Go + PostgreSQL backend running in Docker. Features include habit creation, daily tracking, reminders, and simple habit-based analytics.

Awesome Lists containing this project

README

          

# Habitrack

**Habitrack** is an open-source habit tracking mobile application designed for Android. The app helps users build better routines and break bad habits through consistent daily tracking, reminders, and simple insights. It is developed using Flutter for the frontend and Go with PostgreSQL for the backend, containerized via Docker.

---

## โœจ Features

- โœ… User authentication (sign in, sign out, password reset)
- โž• Add, edit, and delete habits (positive or negative)
- ๐Ÿ“… Daily habit tracking interface
- โฐ Custom reminders for each habit
- ๐Ÿ“Š Basic analytics and progress statistics
- โš ๏ธ Repeated alerts for bad habits the user wants to reduce

---

## ๐Ÿ›  Tech Stack

### Mobile App (Flutter)

- Dart & Flutter SDK
- Platform: Android only
- State Management: (add here, e.g., Provider, Riverpod, etc.)
- Local storage: (add if used, e.g., Hive, SharedPreferences)

### Backend (Go + PostgreSQL)

- REST API with Go
- PostgreSQL for data persistence
- Dockerized service for deployment
- Handles:
- User authentication (JWT)
- Habit data storage
- Periodic statistics generation
- Sync between devices (planned)

---

## ๐Ÿ“ฆ Installation

### Backend

```bash
cd backend
docker compose up --build
```

### Flutter App

```bash
cd habitrack_app
flutter pub get
flutter run
```

---

## ๐Ÿ“ Folder Structure

```
habittrack/
โ”œโ”€โ”€ habitrack_app/ # Flutter app
โ”œโ”€โ”€ backend/ # Go backend
โ”‚ โ”œโ”€โ”€ Dockerfile
โ”‚ โ””โ”€โ”€ main.go
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ docker-compose.yml
```

---

## ๐Ÿงช Status

This project is currently under active development as a university capstone. Contributions are welcome!

---

## ๐Ÿ“„ License

MIT License โ€“ see `LICENSE` file for details.