Built with modern technologies

A robust, scalable architecture designed for performance, security, and maintainability across iOS and Android.

0

technologies

0

arch layers

0

DB tables

Stack

Tech Stack

Core platform

Flutter

Cross-platform UI

Supabase

Backend as a Service

Riverpod

State management

PostgreSQL

Relational database

Firebase

Push notifications

NVIDIA NIM

AI inference engine

Hive

Local offline storage

GoRouter

Navigation routing

Design

System Architecture

Layered design
01

UI Layer

Screens · Widgets · Animations · Theming

02

Providers

StateNotifiers · AsyncNotifiers · Computed values

03

Repositories

Cache-first strategy · Hive + remote sync

04

Services

Supabase client · Firebase messaging · AI calls

05

Supabase Backend

PostgreSQL · RLS policies · Realtime channels

Data

Database Schema

Supabase Postgres
users
id
uuid
email
text
name
text
avatar_url
text?
created_at
timestamp
semesters
id
uuid
user_id
uuid
name
text
start_date
date
end_date
date
courses
id
uuid
semester_id
uuid
name
text
credits
int
color
text
tasks
id
uuid
course_id
uuid
title
text
due_date
timestamp?
priority
enum
status
enum
study_sessions
id
uuid
user_id
uuid
duration
int
mode
text
started_at
timestamp
mood_logs
id
uuid
user_id
uuid
mood
int
stress
int
energy
int
date
date
Primary key Foreign keytype? Nullable

Intelligence

AI Pipeline

Intent parsing with LLM fallback

Q
User query...
01

Intent Parser

Local pattern matching classifies the query in milliseconds.

02

Data Resolver

Fetches matching data from cache or Supabase for the matched intent.

03

LLM Fallback

Unrecognised queries route to NVIDIA NIM for deep AI responses.

Response delivered to user

Sync

Realtime System

Live data sync via Supabase channels

Task updates sync instantly across devices
Study session progress shared in realtime
Notifications delivered via Firebase push
Postgres changes streamed over WebSocket
realtime.dartlive
1supabase
2.channel('tasks')
3.on('postgres_changes', {
4event: '*',
5schema: 'public',
6table: 'tasks'
7}, handleChange)
8.subscribe()

Safety

Security

Production safeguards

Row Level Security

PostgreSQL RLS policies ensure users can only access their own rows.

Supabase Auth

Email + password with OTP verification, and Google / Apple OAuth via PKCE.

JWT + API Keys

Every API call is authenticated with short-lived JWT tokens.

Data Encryption

All data encrypted at rest and in transit with TLS / AES-256.