Giter Site home page Giter Site logo

farmstall's Introduction

FarmStall API

This is a contrived API As part of the ongoing Swagger In Action book by Manning.

The API is hosted at https://farmstall.designapis.com/v1

FarmStall API

The FarmStall service helps the Farmer's Market by encouraging feedback on the experience from the patrons that visit.

The patrons can create reviews, and view the reviews of others. They can do so anonymously or with a user account.

Reviews are messages ( in markdown format ), with a corresponding rating ( 1 to 5 inclusive ) that helps broadly categorize the feedback into shades of positive/negative. Where a rating of 5 is the most postive type of review.

Swagger in Action TODOs

  • Add maxRating to GET /reviews

  • Add rate limiting

  • Add user store

  • Add token store ( assoc with user )

  • Add problem+json for error responses

  • Add auth to POST /reviews and GET /reviews/{reviewId}

  • Prevent creating a user with the same username

farmstall's People

Contributors

ponelat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.