REST API for initializing frontend
-
Make a rest API to initialize frontend only using the doorbell token -
Frontend get's it's office ID and doorbell ID from the initialization API -
Frontend only needs two inputs: server base URL and doorbell token (since each doorbell has its own unique token, backend can search rest of the information from the database)