Table of Contents
Nowadays IoT is one of the fastest growing industries, we impersonate a company selling IoT sensors and we provide an online Dashboard for: user registration, data collection and visualization, device registration, management and monitoring. We charge our users on the basis of data usage.
You can define project variables changing the .env
file.
This file is read by docker-compose to execute the services defined in docker-compose.yml.
- Build and run the project:
make start
, to run on background usemake start-d
- Stop:
make stop
ormake kill
- See logs (useful if running on background):
make logs
- Clean projects (deleting docker images too):
make purge
All postgres data is contained in database-postgres/data
folder.
For more information refer to: https://hub.docker.com/_/postgres
Run make open-db
to open a psql
terminal (useful to inspect the database or run raw SQL commands).
In order to populate the database with some fake data, run make populate-db
.
The SQL script that will be executed to populate the database can be found in database-postgres/scripts/data.sql
.
Run sudo make delete-db
to delete all postgres data in order to start with a fresh new database.
To install the necessary packages, in the frontend/
directory run:
sudo rm package-lock.json
sudo npm install
orsudo yarn install
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Stefano Ivancich | Denis Deronjic | Francesco Pham |
---|---|---|
github.com/ivaste |
github.com/deno750 |
https://github.com/frankplus |
Luca Moroldo | Fabio Vaccaro | Nicola Maino |
---|---|---|
https://github.com/lucamoroz |
https://github.com/fabiovac |
https://github.com/nmaino |