Instagram is a photo and video-sharing social networking service.

Requirements:

  • Users should be able to upload/download/view photos.
  • Users can perform searches based on photo/video id.
  • Users can follow other users.

High-Level Diagram:

Basic HLD

Entities:

  1. User
  2. Entity
  3. UserFollow

Basic Schema Design:

--

--