Skip to content

Instantly share code, notes, and snippets.

View MelTheTester's full-sized avatar
🏠
Working from home

MelTheTester MelTheTester

🏠
Working from home
View GitHub Profile
@Im0rtality
Im0rtality / checklist.md
Last active July 1, 2020 12:12
The Web API Checklist

REST API Checklist

Tried to keep list concise as possible. Following points are actual specs, de facto conventions or good pratices.

  • Use nouns, avoid verbs (/getAccount/123 => /accounts/123)
  • Plural form
  • Base url: https://api.example.com (prefered over https://example.com/api/)
  • Versioning: https://api.example.com/v2/ (alternative: Accepts: application/json;application&v=2)
  • camelCase (most APIs are JSON based, JSON is JavaScript, Underscores are not JS convention)
  • Timestamps (2004-02-12T15:19:21+00:00 - ISO8061)
@staltz
staltz / introrx.md
Last active April 25, 2024 04:18
The introduction to Reactive Programming you've been missing