Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If I have more time

  1. Create Swagger API Doc (OpenAPI).
  2. Use logger instead of builtin log.
  3. Add more unit tests (Cover HTTP handlers, storage, etc).
  4. Add more logs for future investigation?
  5. Add bonus task with CDT\CST

How to run and test API

  1. Clone repo.
  2. Put dataset.json file into project directory.
  3. docker compose up -d - this command builds container with API and run it using port 8585 (can be changed in compose.yaml)
  4. open api.http file and send requests from there with rest client (I used VSCode rest client)

How to run unit tests

  1. go test ./...

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages