Giter Site home page Giter Site logo

omni-srejitk / py-protocol-layer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ondc-official/py-protocol-layer

0.0 0.0 0.0 436 KB

python based protocol layer which abstracts ondc shenanigans and lets you focus on your app

License: MIT License

Python 98.58% HTML 0.91% Dockerfile 0.50%

py-protocol-layer's Introduction

Introduction

  • Protocol layer interacts with network and abstracts ondc network from you application
  • this is pure Rest api based server, which is being used to send request to network(Gateway pr peers)
  • This also receives all requests from network
  • utilizes mongodb to store the request responses as a backup to be able to relay again in case downstream(client api server) is unresponsive

ONDC BAP Protocol Layer(Python)

BAP Protocol Layer written in python using flask framework

Features

  1. uses json-schema for schema-validation for request and responses of Network calls
  2. pagination on search callbacks

Local Setup

  1. Install Python3 and pip3
  2. Install the current version of Mongo DB from here
  3. Create virtual environment and activate here)
  4. pip3 install -r requirements.txt
  5. export ENV=dev
  6. Make webserver as root directory and cd webserver
  7. python -m manage

py-protocol-layer's People

Contributors

adityapatil123 avatar navdeep710 avatar sahilsharma9 avatar sahil-ondc avatar pratikmazumdar 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.