S0 is a resilient, distributed file storage. This is a self-learning project of building a distributed system that is able to scale horizontally and is fault tolerant.
Running a single instance S0
make all
S0 has 2 simple API:
- POST /upload
This API handles static file upload by the key
static_file
. Ensure thatContent-Type
is set toapplication/x-www-form-urlencoded
- GET /[filename.extension] This API serves the uploaded static file