8000 GitHub - leorog/checksum-challenge
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

leorog/checksum-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run

Open two terminal windows

Server

To run the server:

make run

Client

requires jq, sed and xargs

to run the client

make run-client

Client code is just a simple script to POST each command to the api and echo the result.

Ratinale

Server

Architecture

The API serves only one route:

checksum_path  POST  /v1/number  ChecksumWeb.ChecksumController :process_command

It expects a json with the format above:

{"command": "A123", "id": "some_string"}

id is optional and if present creates a new checksum sequence apart from the default one.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0