Created the Pi registration endpoint: api/pis/register
This resolves #7
Currently the pi will only need to pass in it's MAC address. If the Pi has previously been registered we just continue. If the Pi is registering for the first time, we create a Pi object in the database with the MAC address.
In order for the Pi to authenticate when calling "register" endpoint, a specific header attribute will need to be included. I will share this on the slack channel, or it can be found in the code.
Created the Pi registration endpoint: api/pis/register
This resolves #7
Currently the pi will only need to pass in it's MAC address. If the Pi has previously been registered we just continue. If the Pi is registering for the first time, we create a Pi object in the database with the MAC address.
In order for the Pi to authenticate when calling "register" endpoint, a specific header attribute will need to be included. I will share this on the slack channel, or it can be found in the code.