Git Product home page Git Product logo

queapi's Introduction

πŸ”₯ QueAPI

Que Implementation Using API in Python.

A Queue is a linear structure which follows a particular order in which the operations are performed. The order is First In First Out (FIFO). A good example of a queue is any queue of consumers for a resource where the consumer that came first is served first. The difference between stacks and queues is in removing. In a stack we remove the item the most recently added; in a queue, we remove the item the least recently added.

made-with-python PyPI license PRs Welcome Open Source Love svg1 Maintenance

GitHub forks GitHub stars GitHub watchers

πŸš€ Deployments

Check out Latest Production Version https://queapi.vercel.app (Using Serverless Functions and MongoDB).

πŸ“˜ API Documentation

Resource Parameters Response Description
/ None Html Web App to visualize QueAPI.
GET /que None Json Get complete queue in Json format.
GET /get None Json POP the element in the Que.
GET /put data Json PUSH an element in the Que (/push?data=<element>).

Usage

  • Clone the repo git clone https://github.com/harshsinghvi/stackapi && cd stackapi

  • Edit sample.config.py

    • Change the mongo MONGO_DB_URI
    • Rename to config.py
    • mv sample.config.py config.py
  • Install depndencies pip install -r requirements.txt

  • Run flask server python index.py

[Optional] To deploy it to vercel using serverless functions Install Vercel cli and deploy to production by running vercel --prod.

✨ Features

  • Serverless
  • Made Using JAM Stack
  • Static Web UI

πŸ‘Ύ Contributors

πŸ‘¨β€πŸ’»Harsh Singhvi

Twitter Facebook Github LinkedIn

πŸ“œ Refrences

queapi's People

Contributors

harshsinghvi avatar

Watchers

 avatar  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.