https://github.com/aitumik/firmware-api
This is the server that receives the updates from the hardware and sends the results to a client
https://github.com/aitumik/firmware-api
flask sqlalchemy
Last synced: over 1 year ago
JSON representation
This is the server that receives the updates from the hardware and sends the results to a client
- Host: GitHub
- URL: https://github.com/aitumik/firmware-api
- Owner: aitumik
- License: mit
- Created: 2020-11-29T10:02:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T06:06:14.000Z (over 5 years ago)
- Last Synced: 2025-02-08T07:41:13.454Z (over 1 year ago)
- Topics: flask, sqlalchemy
- Language: HTML
- Homepage: http://134.122.30.208
- Size: 609 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
:wq# Firmware API and UI
This is a firmware and Web test
## Description
A web app(ui + api) for showing the humidity and temperature posted by esp8266
## Screenshots
## Installation
First clone the project into your local machine and navigate to the folder
```bash
git clone https://github.com/aitumik/firmware-api.git
cd firmware-api
```
Create a virtual environment:
```bash
python3 -m venv nameofvirtualenv
```
Activate the virtual environment
```bash
source nameofvirtualenv/bin/activate
```
Install the requirments files
```bash
pip install -r requirements.txt
```
## Usage
Serve the application and make sure that the firmware runs on the same wifi as this server
```bash
python3 manage.py runserver --host 0.0.0.0
```
As soon as the server starts you should start seeing incoming request from the esp8266 client
## Technologies used
* Python
* Flask
* jQuery
* Bootstrap
## Drawbacks
* The web application is not quite responsive on mobile devices
* The UI is still basic bootsrap no fancy animations
## Future features
* Use semantic UI instead of bootstrap
* Allow the export of data
## Contributing
Pull requests are welcome. For major changes please open an issue first
## License
[MIT](https://choosealicense.com/licenses/mit/)