Skip to content

jskogelin/the-py-is-a-lie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Py Is a Lie

Python based backend faker.

Reads pylie.json to understand what data to return from its routes

A route is described as:

{
  "base": "http://localhost:8080",
  "routes": {
    "/my/route": {
      "range": [40, 70],
      "data": {
        "id": "__id__",
        "name": "__fullname__",
        "type": "just some string"
      }
    }
  }
}

Todo

  • Tests
  • GET a single entity of a route
  • POST to a route to add entities (with some kind of validation)
  • PUT to a single entity to update it (with some kind of validation)

About

Sets up a http server returning fake data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages