/example-api

Python aiohttp backend with a react vite and material-ui frontend

Primary LanguagePython

Example API

Backend: Aiohttp python service with a gunicorn server.

Frontend: react vite web app with material-ui

Development

docker-compose up

The webui will appear at http://localhost:8080

The rest api is available at http://localhost:8080/api

The api consists of:

  • /physicians Returns all physician objects
  • /physicians/{id}/appointments Returns appointments for the given physician id
  • /physicians/{id}/appointments/add Accepts an array of appointments and generates keys for them