- /env returns environment variables on the server
- /env/ returns the value of a specific env variable key
$ git clone https://github.com/codescalersinternships/enserver-Asmaa.git
- Change into the project directory:
go build -o "bin/app" cmd/main.go
- To get all the environment variables open:
http://localhost:8080/env
- To get environment variable with specific "key" open:
http://localhost:8080/env/key
- To start server using docker
- Run the tests by running:
- If all tests pass, the output indicate that the tests have passed. if there is failure, the output will provide information about it.