Assignment implementing simple api server.
Go to cmd folder and open a terminal. Run below command to build the binary.
go build .
After building, you can run/open that file to run the server. If you are on a mac it will be a file called 'cmd', if you are on windows it will be 'cmd.exe'. Use the terminal to run that file. Use below command to run the file.
for mac
./cmd
for windows
./cmd.exe
go to tests/internal/api folder and open terminal. Run below command on terminal to run tests.
go test
It will show as 'PASS' if tests are ok.