Project Map
- / or /home (login or signup)(dashboard, if cookie detected)
- /login (login page) links to :-
- /setup (setup the device)
- /signup (signup page)
- /u/{}/dashboard/master (the users' master dashboard) *
- /u/{}/dashboard/drone (the users' drone dashboard) *
- /static/* (for static files)
* Authentication Required
- The Logins unlike the signups are handled by two different functions because the Hyper Text Transfer Protocol was not made to do the kinds of thing we do with it today and thus, doesn't allow to us to write cookies after a header has been written and for some reason golang fails this silently
- Had to implement https because modern browsers won't allow myself to access microphones over http, but you can't get TLS certificates for local hosting apparently so I made my own resulting in a nice little message before you access my website for the first time. In the production version 3rd party certificates can be used because of availability of a domain