🔐
v0.0.5AuthDatabaseSecurity

Auth & Database Integration

Supabase integration with authentication and data persistence.

August 15, 2025
3 min read

Your data, secured. v0.0.5 integrates Supabase for database and authentication, bringing Google sign-in, persistent sessions, and real data storage to Lernex. The foundation is now rock solid.

Supabase: Our Data Home

Every learning platform needs a reliable place to store data. We've chosen Supabaseas our database and authentication backbone. It's open-source, scalable, and incredibly developer-friendly.

What Supabase Powers

User profiles

Your preferences, progress, and settings

Authentication

Secure sign-in and session management

Learning data

Lessons completed, quiz scores, streaks

Real-time sync

Changes reflect instantly across devices

This is the foundation that allows Lernex to remember you, track your progress, and personalize your experience across sessions and devices.

Google & Email Authentication

Signing up should be effortless. That's why we've implemented multiple authentication options:

Google Sign-In

One click with your Google account

Email/Password

Traditional registration if you prefer

Email Verification

Secure account confirmation

Security isn't optional—it's foundational. Your data is protected with industry-standard encryption, and we'll never sell or share your information.

Session Cookies & Persistence

Nobody wants to sign in every time they visit. We've implemented secure session cookies that keep you logged in:

  • Persistent sessions — Stay logged in across browser closures
  • Automatic refresh — Seamless token renewal
  • HTTP-only cookies — Maximum security protection
  • Easy sign-out — One click when you need it

Your profile is also initialized automatically when you sign up, pre-populating sensible defaults that you can customize later.

Swipe Gestures for Navigation

Mobile-first means gesture-friendly. We've added swipe gesturesfor navigating between lessons:

Swipe navigation

Left/right to move between lessons

Smooth animations

Fluid transitions during swipe

Momentum scrolling

Natural physics-based movement

Touch-friendly

Large hit targets for easy tapping

These gestures make Lernex feel native on mobile devices, even though it's a web app.

Playlists Shell & Paywall Foundation

Looking ahead, we've started building the infrastructure for features to come:

  • Playlists shell — The UI structure for custom lesson collections
  • Paywall foundation — Infrastructure for premium features
  • Usage tracking — Backend for monitoring learning activity

These aren't user-facing yet, but they're the groundwork for exciting features in upcoming releases.

From Prototype to Product

Database integration marks a crucial transition. Before this, Lernex was essentially a prototype—interesting, but ephemeral. With Supabase, your progress is real, persistent, and yours. This is the moment Lernex became a real product.

Create your account and start building your learning history. Everything you do from now on is tracked, saved, and working toward your goals.

Your journey starts here.
— The Lernex Team

Ready to experience these updates?

Jump into Lernex and see what's new for yourself.