Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Test Server

This repository contains a simple server intended to be used during WissKI Testing. It is written in go and depends only on the standard library.

To run it locally, use:

go run ./cmd/

It supports a very simple protocol:

  • HTTP GET /path/to/file - Retrieve a file from the server.
  • HTTP PUT /path/to/file - Upload a file to the server (with optional Content-Type header)
  • HTTP DELETE /path/to/file - Delete a file from the server

All files are only stored in memory. Stopping the server automatically removes the files.

Deployment

The image exists as a docker image on GitHub Packages. To start a production-ready server, use something like:

docker run --publish 8888:8888 --read-only ghcr.io/fau-cdi/static_test_server:latest

LICENSE

MIT, see [./LICENSE].

About

Server to be used during WissKI Testing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages