Skip to content

ITBenni/himbeer-verfolgung-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Himbeer Verfolgung

A simple API for a RFID demo using Python


💡 About The Project

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.

🧭 Getting Started

To get a local copy up and running follow these steps.

Installation

  1. Clone this repository

    https://github.com/ITBenni/himbeer-verfolgung-api.git && cd himbeer-verfolgung-api
  2. Create and activate a virtual environment to make handling python dependencies less of a mess.

    python -m venv venv 
    source venv/bin/activate
  3. Install the project's dependencies

    pip install -r requirements.txt

🧑‍💻 Developing

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/.

📦 Building

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!

🤝 Contributing

Any contributions are welcome :) If you find any errors or if you have feedback, please open an issue on Github.

📜 License

Distributed under the MIT License. See LICENSE for more information.

🙏 Acknowledgments

This project stands on the shoulders of giants. Those are:

Without these amazing people this project would't have been possible.