LiteKite is an end-to-end mock stock exchange application. Users can trade stocks according to real-time prices with added AI support using the Gemini API.
This repository contains the full LiteKite codebase, separated into three main directories:
frontend/: The React (Vite) frontend application.backend/: The Flask/Python backend server.
To run the application locally, you will need to start both the backend and frontend servers.
The backend requires Python 3.8+ and PostgreSQL.
cd backend
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
pip install -r requirements.txtSet up your .env file in the backend/ directory with required keys (see backend/README.md for details), then run:
flask db init
flask db migrate
flask db upgrade
flask --app api/index.py runThe backend will run on http://127.0.0.1:5000.
The frontend requires Node.js.
cd frontend
npm installSet up your .env file in the frontend/ directory (e.g., VITE_BACKEND_URL=http://127.0.0.1:5000/api), then run:
npm run devThe frontend will run on http://localhost:5173.
The application is deployed live and can be accessed at: https://lite-kite-1hag.vercel.app/
The project is hosted on Vercel, utilizing Vercel's serverless functions for the Python Flask backend and standard static site hosting for the React (Vite) frontend.