Pomofocus is a productivity app built with FastAPI and ReactJs.
These instructions will help you set up and run the Pomofocus app locally.
Make sure you have the following installed:
- Python 3
- Clone the repository:
git clone https://github.com/naiyoma/Pomofocus.git
cd backend
python -m venv venv
source venv/bin/activate or (Windows) "venv\Scripts\activate"
pip install -r requirements.txt
uvicorn main:app --reload
cd ../frontend
npm install
cd pomodoro-app
npm start
npm install axios --save
Split Terminals (Ctrl+Shift+S)
Left Terminal:
.\runbackend.ps1
Right Terminal:
.\runfrontend.ps1
Left Terminal: Ctrl+C (returns to venv)
deactivate (deactivates the venv)
Right Terminal: Press Ctrl+C Press Y