JStore is a small JSON file server build in Go.
JStore enables 3 basic functions for storing JSON files on a server:
- View a file using GET
- Store a file using POST
- Modify a file using PUT
Files are stored using UUIDs as identifiers, by which they can be accessed.
- Use
go build
andgo install
to build the source code and install the program. Afterwards, the program can be run withjstore
. - Start the precompiled program (currently only Windows/amd64) by running
.\jstore.exe
. - Build and run the docker image by using the Dockerfile
-f
: Path to the folder in whichjstore
should store the files.-p
: Port on whichjstore
should run (default: 8080)-u
: Base URL that will be returned together with the identifier when a new file is stored.