Skip to content

DEVELOP 07: RESTful Web API #2

@jerry914

Description

@jerry914
  1. Create a copy of your monolithic web application (see class handout) ✅
  2. Decide the resources (verbs + routes) your API will respond to ✅ Your API is well designed in the controller; in the future, you could also document your route design in README.md!
  3. Create representers for your domain entities/values ✅
  4. Update input validation and service objects ✅
  5. Update controller routes to return Json representation of objects ✅
  6. Write acceptance tests for your API ✅

Robocop/Smell:
A few offenses. First, try to shorten the block length. If necessary, consider using # rubocop:disable Metrics/BlockLength or # :reek:TooManyStatements to ignore the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions