Skip to content
Rahul's App Library

AI, 2026Live

Lumina

Full-stack AI chat assistant

An AI assistant on Google Gemini with streaming answers, saved and searchable conversations, web search with citations, and image generation.

Lumina screenshot

About

Lumina is a full-stack AI chat assistant. Answers stream in as Markdown with code highlighting and LaTeX math, and every conversation is saved to PostgreSQL so it can be searched and restored later.

It can search the web and cite its sources through Tavily, and generate images with Google Imagen. The React frontend talks to an Express API that handles accounts, history and the model calls.

How it works

A simplified view of the main parts and how they connect.

Flow: User, then Interface (React 18, Tailwind CSS 4), then Server (Node.js, Express, JWT), then Data (PostgreSQL, Neon). The server calls Gemini API and Tavily.

  1. You sign in, and the Express API gives the React app a session token.

  2. Each message goes to the API, which streams Gemini's answer back as Markdown.

  3. When a question needs fresh facts, the API searches the web with Tavily and the answer cites its sources.

  4. Conversations are saved in Postgres, so you can search and reopen them later.

What it does

  • Streaming chat with Google Gemini, rendered as Markdown with code highlighting and LaTeX
  • Sign-up and login with bcrypt-hashed passwords and JWT sessions
  • Conversation history in PostgreSQL (Neon), searchable and restorable
  • Web search with citations through Tavily
  • Image generation with Google Imagen
  • Responsive interface built with React and Tailwind CSS

Tech stack

Interface

React 18
Builds the interface from components
Tailwind CSS 4
Utility-first styling

Server

Node.js
JavaScript runtime for the server
Express
HTTP API and routing
JWT
Signed tokens for sign-in sessions

Data

PostgreSQL
Relational database
Neon
Serverless Postgres hosting

AI and APIs

Gemini API
Google's language model
Tavily
Web search with sources

Language and tooling

TypeScript
Typed JavaScript
Vite
Dev server and production bundler

Also on the shelf