Skip to content

SKKU-Capstone-Team10/Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

102 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Capstone Backend

Streamlit‑powered AI chatbot & data‑viz web application




🛠️ Setup

# 1 – Create & activate virtual env
Python version 3.12.7
python3 -m venv [name]
source [name]/bin/activate

# 2 – Install dependencies
pip install -r requirements.txt




⚙️ Environment Variable

Create a environment vairable named .env
Fill the content like below

PASSWORD_ALGORITHM=[Your Hashing Algorithm Here]
SECRET_KEY=[Your Random Secret Key Here]
ACCESS_TOKEN_EXPIRE_MINUTES=11520
FRONTEND_HOST="0.0.0.0"
RAG_HOST="http://127.0.0.1:8001"
RAG_ROUTE="/api/rag/"

⚡ Run

uvicorn main:app --port 8000




📁 Project Structure

🔹 Top-Level Files

File Purpose
main.py Main entry point – FastAPI app controller and page router
models.py DB Table specification
requirements.txt Python dependency list (pip)
.env You must create it.

🔸 Modules & Subdirectories

Folder Purpose
api/ API routers, End Points are defined here
core/ Loading .env / DB Set-up / Authentification Modules
crud/ Controllers, Directly interact with DB
schemas/ Req & Res data field definitions

Capstone Team 10 · Sungkyunkwan University

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages