Skip to content

AtakanPehlivanoglu/gymshark-shipment-calculator-api

Repository files navigation

gymshark-shipment-calculator-api

Coding challenge for solving items packing problem.

Deployments

Pushing a new commit will trigger Push Docker Image to ECR Github Action Workflow which will update private ECR repository with the latest Docker image.

Automatic Deployments are enabled on AWS AppRunner whenever new Docker image is being pushed to ECR repository.

Swagger UI

Swagger

Currently in disabled status, it could be activated on AWS App Runner anytime.

Run Locally

Option 1

SPEC_FILE_PATH=config go run ./shipment-calculator-api

Option 2

Add SPEC_FILE_PATH=config ENV variable in anyway and run main.go file.

Option 3 - Docker Container

  • Build the image

docker build -t gymshark-shipment-calculator-api:latest .

  • Run the container

docker run -p 3000:3000 gymshark-shipment-calculator-api:latest

About

Gymshark shipment calculator for given item size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published