Updated README.md (#33)

This commit is contained in:
Daniel Valdivia
2020-04-06 12:07:40 -07:00
committed by GitHub
parent c8938dc131
commit 9a2b10476c

View File

@@ -1,6 +1,6 @@
# MCS Minio Console Service
This is a REST portal server created using [go-swagger](https://github.com/go-swagger/go-swagger)
A graphical user interface for [MinIO](https://github.com/minio/minio)
## Setup
@@ -57,13 +57,15 @@ To run the server:
export MCS_ACCESS_KEY=mcs
export MCS_SECRET_KEY=YOURMCSSECRET
export MCS_MINIO_SERVER=http://localhost:9000
./mcs
./mcs server
```
You can verify that the apis work by doing the request on `localhost:9090/api/v1/...`
# Development
This is a REST portal server created using [go-swagger](https://github.com/go-swagger/go-swagger)
The API handlers are created using a YAML definition located in `swagger.YAML`.
To add new api, the YAML file needs to be updated with all the desired apis using the [Swagger Basic Structure](https://swagger.io/docs/specification/2-0/basic-structure/), this includes paths, parameters, definitions, tags, etc.