How shishirise/2143-object-oriented-programming works
Project type and purpose
• From the file tree we see this repo is a collection of OOP course assignments (A01–A07, H01–H07, P01, Notes).
• The most “software‐architecture”–oriented subproject is P01, which implements a simple RESTful API (meteorites.py) for meteorite data (meteorites.json) with separate docs for GET, POST, DELETE, UPDATE.
• The README simply contains personal/contact info and no high‐level architecture description.
File structure
• Top level:
• Assignment/A04–A07 and Homework PDFs – pure deliverables, no code.
• Assignment/P01 – the only code directory:
– MAIN code: meteorites.py
– JSON: meteorites.json (data store)
– Method folders (GET, POST, DELETE, UPDATE): markdown docs describing each route
• No build or deployment scripts; likely run via python meteorites.py.
• No frontend code, no external databases—just a file‐based store.
Architecture overview for P01
• This is a single‐process, RESTful web service:
a) HTTP client (e.g. curl, Postman, browser)
b) Python Flask (or similar) application (meteorites.py) implementing CRUD routes
c) JSON file (meteorites.json) serving as the persistent datastore
• Under the hood the application will:
• Parse incoming HTTP requests (GET/POST/PUT/DELETE)
• Them to class methods (per the UML: e.g. MeteoriteManager, Meteorite classes)
• Read/write the JSON file
• Return JSON responses and HTTP status codes
Additional advice
• Domain classes inside a “Domain Model” container.