- Download or clone the repository.
git clone https://github.com/farhan2077/happy-plant.git
-
Check out all individual folders' ( frontend, backend, arduino-section, esp8266-section ) individual setup processes first.
-
Then deploy
backend
andfrontend
. While deployingfrontned
make sure to add your.env
file similar to.env.example
. -
The microcontroller folder has two seperate folders for two different microcontrollers. Each of them has their own schematics (which can be found in the folders). Connect all the required hardwares according to the schematics.
-
Now burn the code from
arduino-section-code
folder toArduino Uno
. -
Before you burn the code from
esp8266-section-code
folder toNodeMCU EXP8266
make sure to chenge the followingconstants
.
const char* ssid = "YOUR_WIFI_SSID";
const char* password = "YOUR_WIFI_PASSWORD";
const char* apiUrl = "YOUR_BACKEND_API_URL";
NOTE: Here in case of apiUrl
, remove the s
from the url of the https
part and add /api/v1/plants
at the end of the backend url
(Ex: Let's say your backend url
is https://example.com
, so your apiUrl
will be http://example.com/api/v1/plants
).
Any pull requests are welcome.
Everything is free to use except for the logo inspired by this dribble and illustrations inspired by this adobe stock photo used in frontend
. I do not own any kind of rights to those logo or illustrations.