1.0.0 • Published 2 years ago

propertymanagentclass9 v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Design a property management System

Scope : Listing properties

High Level System Design: -Property owned by us or 3rd party -Data collection (image,price,description)

Design Deep Dive: -CRUD (Create,Read,Update,Delete) properties. This is where API comes in

Wrap up: To determine the database; Total number of properties = 10,000
For Each Property ; Information = 200kb Image <= 1mb Document(1) = 5mb, 3 docs= 3*5 = 15

For one property = 1mb 0.2mb 15mb 1= 3mb For 10,000 property = 3mb 10,000= 30,000mb = 30 gb This figure shows mongodb cant be used, potgress is what will work

Next step is to create an express app with 4 endpoints ; create, read, update and delete