Skip to content

reskin89/jsonlinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JsonLinter

There are many tools to lint and format json. This is a containerized api solution.

This allows the running of postman/curl with an unformatted json blob, and the returned output will be formatted.

Usage

Simply docker pull reskin89/jsonlinterapi and run the image, exposing a public port, to internal port 8400.

Examples

Using Curl

Using Postman

Build From Source

To run in its default configuration run:

make build-app image=YOURIMAGENAME port=EXTERNALPORT

Replace YOURIMAGENAME with what you'd like to name the docker image, and port with the external port you'd like to hit the api on. The application runs itself on port 8400.

There is also logging for simple reasons to see when and where requests come from and their methods. These are output to stdout so the docker logs command works quite well with it.

Releases

No releases published

Packages

No packages published