GithubHelp home page GithubHelp logo

dan-mcm / inspiration-api Goto Github PK

View Code? Open in Web Editor NEW
5.0 0.0 4.0 1.08 MB

☀️ API built with Scala & Play Framework. Uses Postgres & Slick

Scala 62.10% HTML 18.22% Shell 0.43% Batchfile 0.51% Dockerfile 4.17% TSQL 14.57%
inspiration inspirational-quotes api scala play

inspiration-api's People

Contributors

dan-mcm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

inspiration-api's Issues

PUT endpoint

Provide a PUT /quotes endpoint to allow users to submit their own quotes & authors to the service. Have it write to a local file for initial manual vetting.

Random Int for GET endpoint hardcoded

If additional entires are added to the DB via the POST endpoint the GET endpoint is limited to only accessing the first 10 items. This should be replaced with a dynamic number that is based on the count of entires from the DB at the time of being called.

JSON Parsing

Provide functionality to read quotes directly from a JSON file instead of array of string values.

Setup postgres integration

Successful Criteria:

  • Dockerfile setup that intiates a basic postgres image
  • Auto generation of table containing three columns: id, quote, author

POST endpoint

Setup POST endpoint /inspiration to allow users to submit a URL that contains an authors name, and returns a list of quotes from that author

Generate SDK

Auto-Generate SDK using Swagger-Codegen service based on Swagger file.

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.