Skip to content

kanish818/LiteKite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiteKite

Live Demo

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.

Project Structure

This repository contains the full LiteKite codebase, separated into three main directories:

  • frontend/: The React (Vite) frontend application.
  • backend/: The Flask/Python backend server.

Getting Started

To run the application locally, you will need to start both the backend and frontend servers.

1. Backend Setup

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.txt

Set 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 run

The backend will run on http://127.0.0.1:5000.

2. Frontend Setup

The frontend requires Node.js.

cd frontend
npm install

Set up your .env file in the frontend/ directory (e.g., VITE_BACKEND_URL=http://127.0.0.1:5000/api), then run:

npm run dev

The frontend will run on http://localhost:5173.

Deployment

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.

About

An end-to-end mock stock exchange application featuring real-time prices, AI portfolio analysis, and virtual trading.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages