Skip to content

ONDC-Official/seller-mock-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The Seller mock engine config converts yaml configs into single build.json file that can be consumed by the seller mock engine through the api.

By leveraging seller-mock-config, seller mock engine can pull latest config files without need to update configs. It ensures that the seller mock engine is running with latest configs.

Repository Structure

  • /config - stores configs in yamls
  • /build
    • build.json - build output
  • app.js - code to convert yamls into build.js

Config Folder Structure

There are two types of config json

  • /build.json - All configs combined into one
  • /<domainname>.json - Contains json only specific to that domain

Steps to setup protocol servel in local environment

Prerequisites

Steps to setup the local environment

Go to project root and install dependencies

npm i

make config changes and run

node app

This will output config from config folder into build/build.json which can be retrieved using github/other api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published