Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/worknenjoy/ahorta
Plant as a service
https://github.com/worknenjoy/ahorta
arduino green iot nodejs
Last synced: 2 months ago
JSON representation
Plant as a service
- Host: GitHub
- URL: https://github.com/worknenjoy/ahorta
- Owner: worknenjoy
- Created: 2018-11-30T17:45:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T12:30:13.000Z (about 2 years ago)
- Last Synced: 2024-04-14T00:35:38.795Z (9 months ago)
- Topics: arduino, green, iot, nodejs
- Language: JavaScript
- Size: 253 KB
- Stars: 2
- Watchers: 8
- Forks: 6
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ahorta
Plant as a serviceThis is the server that receive the data from the IOT Device that reads the soil humidity from a plant.
The full article of how it was built you can find here: https://alexandremagno.net/en/2018/12/developing-iot-device-humidity-sensor-for-plants-using-arduino/
In Portuguese: https://alexandremagno.net/2018/12/desenvolvendo-um-projeto-com-internet-das-coisas-sensor-de-humidade-para-plantas-com-arduino/
## Create database
#### Install postgres
1. install: `brew install postgres` (mac)
2. start the service: `brew services start postgresql`
3. create postgres user: `createuser postgres -s`
4. Login into postgres cli: `psql -U postgres`
5. Create test database: `create database ahorta_test;`
6. Create a dev database: `create database ahorta_dev;`
7. Exit: `\q`