frontend/– Next.js dashboardbackend/– FastAPI API + ML pipeline
This project requires python>=3.12.
First, download Node.js v24.11.1 (LTS) and verify it is installed:
node -v
npm -vNext, install and configure Poetry:
pip install poetry
poetry --version
poetry config virtualenvs.in-project trueNext, clone the repository:
git clone https://github.com/davidafshepherd/smartcart-v3
cd smartcart-v3Next, set up the backend:
cd backend
poetry installRun the backend to verify it is set up:
poetry run uvicorn app.main:app --reload --port 8000The backend will run at http://127.0.0.1:8000/docs. Press CTRL + C to exit.
Lastly, set up the frontend:
cd ../frontend
npm installRun the frontend to verify it is set up:
npm run devThe frontend will run at http://localhost:3000. Press CTRL + C to exit.