site icon indicating copy to clipboard operation
site copied to clipboard

Cookbook & recipe ideas

Open ryanto opened this issue 5 years ago • 0 comments

Placeholder issue for things we would include in a cookbook.

  • Using Mirage with JSON:API
  • Delaying db writes
  • UUIDs instead of auto incrementing ID. Also, making UUIDs application wide.
  • Handling relationships with /user/:userId/posts style urls
  • Delayed responses and server timeouts
  • Using Mirage for demos (mention changing the timing)
  • Intercepting network requests and modifying some of the JSON
  • Router handlers with query params
  • Binary data
  • Streaming responses
  • Persisting the database locally so it survives reloads
  • Including all relationships by default
  • Shorthand nested resources server.get('/articles/:id/comments')

ryanto avatar Dec 12 '19 18:12 ryanto