A GitHub Copilot for understanding entire software systems
frontend/: Next.js web applicationbackend/: FastAPI backend with PostgreSQL, Redis, and LangChain
- Go to the
backenddirectory:cd backend - Copy the environment variables:
cp .env.example .env - Fill out
.envwith your LLM API keys (e.g. Gemini, OpenAI, etc.). - Install dependencies:
pip install -r requirements.txt - Run the server:
uvicorn app.main:app --reload
- Go to the
frontenddirectory:cd frontend - Copy the environment variables:
cp .env.example .env.local(UpdateNEXT_PUBLIC_API_URLif needed) - Install dependencies:
npm install - Run the development server:
npm run dev
You can use docker-compose up -d to spin up PostgreSQL and Redis.