to run the program
- change directory to SmartFarm backEnd\src\main
- run python ResApi.py
to test, open another terminal and type: authentication: curl.exe -X POST http://127.0.0.1:5000/login -u : (Read the database for inserted data) registration: curl.exe -X POST http://127.0.0.1:5000/registration -H "Content-Type: application/json" -d "{"username":"", "email":"", "password":"", "device_name":""}"