Skip to content

Cookbook & recipe ideas  #170

@ryanto

Description

@ryanto

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions