doorbell-backend issueshttps://gitlab.utu.fi/vincit/doorbell-backend/-/issues2019-08-23T21:22:25Zhttps://gitlab.utu.fi/vincit/doorbell-backend/-/issues/29REST API for initializing frontend2019-08-23T21:22:25ZPetteri SaurusREST 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 **doorbel...* [ ] 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)Petteri SaurusPetteri Saurushttps://gitlab.utu.fi/vincit/doorbell-backend/-/issues/11Slack server commands.2019-08-30T15:46:14ZPetteri SaurusSlack server commands.You should be able to atleast do the following:
* [x] Basic under the hood functionality for adding, removing and renaming offices, users and doorbells
* [x] Show offices, users and doorbells
* [ ] Add offices, users and doorbells
* [...You should be able to atleast do the following:
* [x] Basic under the hood functionality for adding, removing and renaming offices, users and doorbells
* [x] Show offices, users and doorbells
* [ ] Add offices, users and doorbells
* [ ] Modify offices, users and doorbells
* [ ] Remove offices, users and doorbellsSprint 3Petteri SaurusPetteri Saurushttps://gitlab.utu.fi/vincit/doorbell-backend/-/issues/10Get the database in use.2019-08-26T13:02:13ZPetteri SaurusGet the database in use.Get the database in use using **Knex** and **objection.js** for **node.js**:
* [x] Make Knex migrations for 'offices', 'users' and 'doorbells' tables
* [x] Adding 'offices', 'users' and 'doorbells' to DB
* [ ] Updating 'offices', 'use...Get the database in use using **Knex** and **objection.js** for **node.js**:
* [x] Make Knex migrations for 'offices', 'users' and 'doorbells' tables
* [x] Adding 'offices', 'users' and 'doorbells' to DB
* [ ] Updating 'offices', 'users' and 'doorbells' in DB
* [x] Removing 'offices', 'users' and 'doorbells' in DB
* [x] Making queries to the database
* [x] Using objection.js to build models atleast for offices, doorbells and persons
* [x] Merge database code to backend
* [ ] Getting visible users in alphabetical order
* [ ] Negotiate necessary additions to frontend alsoRaine EkmanVisa JokelaRaine Ekman