GithubHelp home page GithubHelp logo

kaplan-api's Introduction

Assignments API

Sonyl Nagale [email protected]

Problem Statement

Context:

As part of our vision for Platform as a Service (PaaS), we need to create well designed APIs that follow design best practices around and not restricted to

  • RESTful URLs

  • Error Handling/ Status Codes

  • Versioning

  • Documentation

Assignment

Create a simple dockerized service for managing and serving assignments

  1. Create a simple object model for an assignment (id, name, title, description, type, duration etc.). Assignment can contain 1 or more tags (array of strings).

  2. Add endpoints to

    a. Create an assignment

    b. Get an assignment by id

    c. Search assignments by tags

  3. Use any standard to generate api documentation (apidoc, swagger etc.)

  4. Please also build a simple front-end (any look & feel you like) that can be used to create an assignment and search an assignment by tag using the APIs above.

You can use any technology of your choice (coding language and db).

Reference:

Apidoc: http://apidocjs.com

Swagger: https://swagger.io/

API Best Practices :

https://docs-apis.apigee.io/files/Web-design-the-missing-link-ebook-2016-11.pdf

Submission:

You can submit the code in a GithHub repo and send us a link.

Running the Solution

  1. git clone this repository.
  2. cd into the repository directory.
  3. Ensure that Docker is started with docker info.
  4. Create the Docker image from the Dockerfile: docker build -t sonylnagale/kaplan-api ..
  5. Run the Docker image: docker run -p 49160:8081 -p 49161:3000 -d sonylnagale/kaplan-api.
  6. Access the front-end at: http://localhost:49161.
  7. API documentation is at: http://localhost:49161/docs/

kaplan-api's People

Watchers

James Cloos avatar Sonyl Nagale 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.