This is a very simplistic project to demonstrate the possibilities of RFID technology. It uses Flask, Swagger and Connexion to create a RESTful API to track the movement of RFID tags.
It is intended to be used in the lecture "Soziotechnische Studien: Container, Paletten, Verpackungen" taught by Prof. Dr. Martin Binder at PH-Weingarten.
The project should be used in conjunction with this frontend and this RFID reader.
To get a local copy up and running follow these steps.
-
Clone this repository
https://github.com/ITBenni/himbeer-verfolgung-api.git && cd himbeer-verfolgung-api
-
Create and activate a virtual environment to make handling python dependencies less of a mess.
python -m venv venv source venv/bin/activate
-
Install the project's dependencies
pip install -r requirements.txt
The entrypoint to the application is located in api/app.py. You can run the app with a regular python interpreter, or the development environment of your choice:
python3 api/app.py
You can see the Swagger documentation of the API on http://127.0.0.1:8000/api/ui/.
To create a deployable version of the project use the Dockerfile and create a container:
docker build -t himbeer-verfolgung-api .
docker run -d -p 8000:8000 himbeer-verfolgung-api
This is just a demo and not intended to run in a production environment!
Any contributions are welcome :) If you find any errors or if you have feedback, please open an issue on Github.
Distributed under the MIT License. See LICENSE for more information.
This project stands on the shoulders of giants. Those are:
Without these amazing people this project would't have been possible.