Skip to content

Horlard1/rule-validation-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rule-validation-api

A task to create a simple rule-validation API

First route is the base route. HTTPS GET "/"

Live link here >>> https://rule-api.herokuapp.com

Second route is the rule validation route. HTTPS POST "/validate-rule" The route should accept JSON data containing a rule and data field to validate the rule against.

Example of accepted payload: { "rule": { "field": "missions" "condition": "gte", "condition_value": 30 }, "data": { "name": "James Holden", "crew": "Rocinante", "age": 34, "position": "Captain", "missions": 45 } }

About

A task to create a simple rule-validation API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published