This is a light API powered by FastAPI with no persistent data.
First clone the repository,
then go in mind-map-api/
cd mind-map-api/
Install dependencies
pip install -r requirements.txt
Start the apps by running:
bash run.sh
Docker must be installed on your machine!
Build the Docker image named fastapi_img
docker build -t fastapi_img .
Run the container named fastapi_container
docker run -d --name fastapi_container -p 80:80 fastapi_img
Root apps: http://127.0.0.1:8000
API: http://127.0.0.1:8000/docs
Retrieve the Server's IP address where the container is running
Root apps: http:<your_IP_Address>
API: http:<your_IP_Address>/docs