An API for logging humidity & temperature measurements.
Please refer to our Wiki for more information.
git clone https://github.com/0x1115/measurement-api.git && cd measurement-api
# If you use Measurement API in production, consider passing --no-dev option
composer install -vvv
cp .env.example .env
vim .env
php artisan migrate:refresh && php artisan db:seed --class=ProductionSeeder
The seeding process should end up with the default user.
php artisan migrate:refresh --seed
Make sure to configure the database before serving. The application is shipped with a default Caddyfile
caddy -log stdout -agree=true -root=/var/tmp -conf=./Caddyfile
and you're good to go !
Please see the Getting started section for more information.
The API is open-sourced software powered by Lumen Framework which is licensed under the MIT license