Skip to content

Instantly share code, notes, and snippets.

View MelTravelz's full-sized avatar
💻
Enterprise Architecture

MelTravelz MelTravelz

💻
Enterprise Architecture
View GitHub Profile
Zoo Manager: a one-to-many relationship
Zoo can have many animals
Table -> zoos
- auto-generated ID (PRIMARY KEY)
- auto-generated created_at
- auto-generated updated_at
- name:string
- admission_cost:integer
@MelTravelz
MelTravelz / do_good_json_contract.md
Last active October 13, 2023 16:30 — forked from hamouj/json_contract.md
BE - Do Good Endpoints

Do Good JSON Contract


Request: GET "/api/v1/good_deeds"

Response:

{
  "data": [{
@MelTravelz
MelTravelz / apls_json_contract.md
Last active May 23, 2023 21:30
BE - ALPs Endpoints

JSON Contract: ALPs (Advanced Language Practices)


Get the Homepage / UsersController#index

GET "/api/v1/users"

Response:

Status: 200

@MelTravelz
MelTravelz / missing_piece_JSON_contract.md
Last active October 23, 2023 07:18
missing_piece_JSON_contract