Skip to content

Instantly share code, notes, and snippets.

@jdavisclark
Last active April 9, 2018 13:58
Show Gist options
  • Select an option

  • Save jdavisclark/08c7b286a4aad7873b2819a864c74583 to your computer and use it in GitHub Desktop.

Select an option

Save jdavisclark/08c7b286a4aad7873b2819a864c74583 to your computer and use it in GitHub Desktop.
my made up app def language
- endpoint
for: movies
that: persists new records
for model: movie
backed by: postgres
cached by: redis
- endpoint
for: movies
that: retrieves records
for model: movie
backed by: postgres
cached by: redis
- model
named: movie
with fields:
- name (string)
- genre (string)
- producer (string)
- created_at (timestamp)
- updated_at (timestamp)
- created_by (timestamp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment