- FastAPI backend to serve mocked data from Sumo, etc
- CRA with typescript frontend
Start backend:
cd backend
pip install -r requirements.txt
python main.py
Start frontend:
cd frontend
npm install
npm start
Api documentation is available at http://localhost:5000/docs
Typescript client is autogenerated from FastAPI. https://fastapi.tiangolo.com/advanced/generate-clients/#generate-a-typescript-frontend-client
To recreate:
npm run generate-client