Skip to content

albertonea/truth-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Monorepo containing a React frontend and a FastAPI backend. Run each service in its own terminal during development.

Prerequisites

  • Node.js and pnpm installed
  • Python 3.10+ and Make installed

Frontend (React)

  • Commands:
cd frontend
pnpm install
pnpm run dev
  • The dev server starts locally and prints the URL in the terminal.

Backend (FastAPI)

  • Commands:
cd backend
make venv
make install
make dev

Environment Variables

  • If needed, add configuration to:
    • OLLAMA_API_KEY to environment variables
    • frontend: frontend/.env
    • backend: backend/.env

Running Both

  • Open two terminals:
    • Terminal A: start the frontend.
    • Terminal B: start the backend.

Project Structure

repo-root/
  frontend/     # React app (pnpm)
  backend/      # FastAPI app (Makefile handles venv, install, dev)
  README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors