Skip to content

JRSkates/scribemind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScribeMind

ScribeMind is a document-to-chat app in progress. The goal is to let users upload files, process and index their content, and then ask natural-language questions against that content.

Tech Stack

  • Frontend: React + TypeScript + Vite
  • Backend: Python + FastAPI + CORS
  • Planned AI/RAG stack: OpenAI, ChromaDB, Hugging Face embeddings

Current Status

  • Frontend is set up with a minimal React + TypeScript starter.
  • Backend is set up with FastAPI and a health endpoint.
  • Health endpoint: GET /api/health

Project Structure

scribemind/
	backend/
		venv/
		app/
			main.py
		requirements.txt
		requirements-dev.txt
	frontend/
		src/
		package.json

Prerequisites

  • Node.js 20+ and npm
  • Python 3.10+

Backend Setup And Run

From the repo root:

cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
uvicorn app.main:app --reload --port 8000

Then each time you want to enter env/leave:

source venv/bin/activate
deactivate

Backend will be available at:

  • API: http://localhost:8000
  • Health check: http://localhost:8000/api/health

Frontend Setup And Run

Open a second terminal from the repo root:

cd frontend
npm install
npm run dev

Frontend will be available at:

  • App: http://localhost:5173

Build Commands

  • Frontend development server:
cd frontend
npm run dev
  • Frontend production build:
cd frontend
npm run build
  • Backend currently runs directly via Uvicorn for development.

Test Commands

From the repo root, run tests with the following commands.

  • Frontend tests (Vitest):
cd frontend
npm run test
  • Backend tests (pytest):
cd backend
source venv/bin/activate
python -m pytest -q tests

Notes

  • Use a single Python virtual environment in backend/venv.
  • CORS is configured in the backend to allow requests from http://localhost:5173.
  • Keep backend and frontend running in separate terminals during development.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors