The 3rd screen UI was done by my teammate Mayank Padhi and the details can be found in his
blogpost. The admin, after logging in, should be able to access two things:
- The feedback by the customers.
- The song requests by the customers.
So, a different user is created within the Hasura project and selection and deletion rights have been assigned to the tables "songrequests" and "complaints" tables. So after the login, the page is loaded by two menu's, one beside the other populated by the queries made in the background. Each complaint and song request is along with a button to delete it too, since if the issue is resolved, it is no longer required by the owner.
 |
| The first view of the admin console |
 |
| Deleting a complaint |
 |
| Deleting a Song Request |
Along with these screens, we have also developed a "player" for our app that actually interacts with the database and plays the songs in the queue and if the queue is empty, it plays a random song from the database. For the player, only the backend is developed since it is to be just opened in a tab by the owner of the shop and the songs will be played by the browser. A separate role is created for the player with update access to play count column of music database table, the delete access to songs queue and select access to music database for getting size of database. The screenshot of the player in it's running phase is given below:
 |
| The music player in action |
Comments
Post a Comment