Table of Contents
A GET REST API that takes in a path given by the user. We run the "ls -la" OS command on the path and translate the output into JSON format. This application is Dockerized with unit tests.
- Docker
brew cask install docker
- Run in terminal of your choice:
./getpath.sh
NOTE: Some paths you may need give Docker permission to access!
- Open in browser of your choice this link:
http://0.0.0.0:80
- Run Pytest
pytest
See swagger.yaml file in the repository for Swagger style documentation
Rebecca Hsieh - [email protected] - therealslimhsiehdy.com