This application is part of the Data Science Management study program and the final project of the Data Science Ecosystem course.
We created a dockerized Web-API for the Aasee using FastApi and a MySQL database.
One feature is the prediction of the water temperature for a future day by a given outdoor temperature on that day.
- Aasee Data
- Brightsky API for outdoor temperature
Create your .env file. It is neccessary for the application to run.
cp .env.example .env
We use make with a makefile to simplify commands.
So if you can use make
, perfect!
If not, follow the specific setup files.
Just run
make run-app
The API documentation can be accessed under 0.0.0.0:8000/docs.
For more information, see the production setup.
To stop run
make stop-app
If you want to dig into the code and do further development you have to create a docker image first.
Run
docker build -t aasee-app-dev .
After that run
make run-app-dev
A uvicorn server will start.
The API documentation can be accessed under 0.0.0.0:8042/docs.
For more information, see the development setup.
To stop the development run
make stop-app-dev
Be aware that we use PWD
print working directory in our docker commands.
If you run into errors due to this please make changes and use your current working directory path.
- Andreas Geyer (Docker, make)
- Michael Geyer (MySQL, FastAPI)
- Tim Werner (Data Analytics)