Data Diagrams - rheal3/IslandBikeRentals GitHub Wiki

Database Diagram

https://github.com/rheal3/IslandBikeRentals/blob/master/docs/diagrams/database.png

Dataflow Diagram

https://github.com/rheal3/IslandBikeRentals/blob/master/docs/diagrams/dataflow.png

  1. Customer enters personal details into rental form.
  2. Customer enters payment details into payment form.
  3. If payment form is accepted, booking is validated. Customer is sent a booking result receipt in the form of an email. Booking details are stored in database.
  4. Admin enters login details, login details are verified in database, if the account is confirmed authentication is returned and the admin is logged in.
  5. Admin accesses bookings index, authentication details are sent with request. Database is queried and all booking data is returned.
  6. Admin accesses single booking through booking index. Database is queried and booking data for booking is returned.

Application Architecture Diagram

https://github.com/rheal3/IslandBikeRentals/blob/master/docs/diagrams/aad.png

User accesses front end which then connects to backend Flask Server ec2 instance and queries PostgreSQL database in seperate ec2 instance within a private subnet.