Skip to content

valentim/ag-wayland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AG Wayland

The AG Wayland is a microservice responsible for Cumulative Flow Diagram generation. It was written 100% in python and uses AIOHTTP client/server framework in the base.

Install

pip install -r requirements.txt

Usage

There are two ways to start the server: 1 - Enter into the cfd directory and execute the command below:
python server.py

2 - Enter into the cfd directory and use the devtools:
adev runserver --port 8080

The main difference between these two ways is that the second is better to the development because it has resources like debug mode and live reload.

There is a simple endpoint that generates the CFD.

Endpoint

[POST] - /diagrams

Request

{
	"data": [
		{
			"column": "Done",
			"values": [{
				"x": 1570417200,
				"y": 2
			}]
		},
		{
			"column": "WIP",
			"values": [{
				"x": 1570417200,
				"y": 1
			}]
		},
		{
			"column": "Backlog",
			"values": [{
				"x": 1570417200,
				"y": 1
			}]
		}
	]
}

Response

200

{
    "success": true
}

CFD

License

GNU © AG CFD Saver

About

Microservice specialized to generate cumulative flow diagrams and save as png

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages