Skip to content

hanyi00i/mongo-heroku

Repository files navigation

BENR 2423 Database and Cloud System

Visitor Management System in Hospital

Use-Case Diagram

The diagram below show the Use-Case diagram for this Hospital VMS. Use-Case Diagram

  • There are four character in this Use-Case Diagram.
  • ๐Ÿง‘โ€โš•๏ธ Admin can do the CRUD operation for the role of admin, user, and security. Admin also can view all the visitor's information and department's details.
  • ๐Ÿ‘จโ€๐Ÿ’ป User as Hospital Employee can do the CRUD operation for the visitor. User also can view all the visitor's information that created by him/her self.
  • ๐Ÿ™‹โ€โ™‚๏ธ Visitor of the Hospital can view him/her self visitor's information by the visitor ID.
  • ๐Ÿ‘ฎโ€โ™‚๏ธ Security guard can view all the visitor's information to make sure the visitor has booking for that day.

Entity Relationship Diagram

The diagram below show the Entity Relationship Diagram that contains the Database Modelling with Crowโ€™s Foot Notation. Entity Relationship Diagram

  • There are total three collections named User, Visitor, and Department in the database named vms.
  • The Visitor collection has a key field named inputby will contained the username of the User collection.
  • The Department collection has a key field named visitors will contained the id of the Visitor collection.

Heroku link that Host the RESTful API on the cloud

https://tranquil-beach-83069.herokuapp.com/api-docs/

tranquil-beach-83069

Deploying Node.js Apps to Heroku with Swagger

Heroku Connection that accompanies the The Heroku CLI and Deploying Node.js Apps on Heroku tutorial.

Deploy