The application consists of two main components:
- Backend: Python FastAPI service
- Frontend: React/TypeScript web interface
Before starting, ensure you have installed:
- nvm (Node Version Manager) added to PATH
- Latest version of yarn package manager
- Python runtime added to PATH
- Git Bash terminal application
- Open a new Git Bash terminal
- Navigate to the project directory:
cd temperature-procedure-controller cd backend
- Activate the Python virtual environment:
. venv/Scripts/activate
- Start the backend server:
uvicorn main:app --reload --host 0.0.0.0 --port 8000
- Keep this terminal running
- Open another Git Bash terminal
- Navigate to the project directory:
cd temperature-procedure-controller cd frontend
- Start the frontend development server:
yarn start
- Keep this terminal running
!!! IMPORTANT: Ensure only one browser window with a single tab is running the application!
Access the application in your browser at:
http://localhost:3000/
Temperature logs are stored at:
~/temperature-procedure-controller/backend/data/temperature_logs
To stop both services, press Ctrl + C
in each of the Git Bash terminals.