Giter Site home page Giter Site logo

stensby / quotes Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 15 KB

Management system for storing and editing simple quotes. Technical assignment for backend web development job interview.

License: MIT License

Dockerfile 4.12% Makefile 5.22% Python 90.66%

quotes's Introduction

Quote API Technical Takehome

A management system for storing and editing simple quotes.

Requirements were to implement a CRUD REST API for quotes. See the full prompt for details.

Implemented in Python, using the Flask web framework.

Setup

Can be run locally or in Docker using make start or make start_docker.

Supported endpoints/methods

  • GET /quotes returns all quotes
  • GET /quotes/id returns a single quote
  • POST with json body to /quotes to create a new quote
  • PUT with json body to /quotes/id to update an existing quote
  • GET /authors returns all authors

Future improvements

  • Database to replace temporary runtime storage of quotes and auth
    • Would allow for data persistance, efficent sorting and filtering options by other fields (e.g. return results oldest to newest)
  • GraphQL endpoint instead of multiple rest endpoints/methods, allow for easy exploration of relationships between authors, quotes
  • Put behind production ready webserver with nginx proxy for SSL support (could also be provided by putting behind cloud hosting load balancer)

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.