Juno is a very tiny and simple to use http file server
method | endpoint | does |
---|---|---|
POST | /v1/auth/login | returns access token |
POST | /v1/auth/refresh_token | refreshes the access token |
POST | /v1/auth/logout | invalidates the token |
GET | /v1/resources | retrieves all the resources related to the application |
POST | /v1/resources/upload | uploads the given file |
GET | /v1/resources/:id | retrieves a single resource information or downloads that file |
DELETE | /v1/resources/:id | deletes all the information related to the resource with the given id |
Run the following command to launch the application
docker-compose up
To run the tests issue the following command
docker-compose -f docker-compose-test.yml up