A small full-stack app for turning plain-language interaction notes into structured CRM-style fields.
- Backend: FastAPI
- Frontend: React + Vite
- Optional AI parsing: OpenAI API via
OPENAI_API_KEY
- Create and activate a virtual environment inside
backend/. - Install dependencies:
pip install -r backend/requirements.txt- Copy
backend/.env.exampletobackend/.envand set your values. - Start the API:
uvicorn backend.main:app --reload- Install dependencies:
npm --prefix frontend install- Copy
frontend/.env.exampletofrontend/.env. - Start the app:
npm --prefix frontend run devOPENAI_API_KEY: optional. If omitted, the backend falls back to regex/date parsing.OPENAI_MODEL: optional. Defaults togpt-4o-mini.FRONTEND_ORIGIN: optional. Defaults tohttp://localhost:5173.
VITE_API_BASE_URL: optional. Defaults tohttp://localhost:8000.
- Keep
backend/.envandfrontend/.envlocal only. - Do not commit
backend/venv/,frontend/node_modules/, build output, or cache files. - If you already initialized a Git repo somewhere above this folder, make sure you are pushing the intended repository root.