2021-09-15 19:11:17 +00:00

24 lines
836 B
Markdown

# Product Catalog API
Blogs for Detailed Tutorial:
* <a href="https://learnai1.home.blog/2021/03/15/microservices-in-go/">Introductory Blog.</a>
* <a href="https://learnai1.home.blog/2021/03/18/microservices-in-go-part-2/">Adding More API's.</a>
* <a href="https://learnai1.home.blog/2021/06/27/authentication-in-go-microservices/">Basic Authentication in Microservices.</a>
* <a href="https://learnai1.home.blog/2021/07/08/microservices-in-go-part-iv-docker-and-go-microservices/">Docker and Go Microservices.</a>
* <a href="https://learnai1.home.blog/2021/08/05/https-server-in-go/">HTTPS Server in Go.</a>
## Run API
``` bash
go run .\main.go
```
Use the above command to run API on your local machine on port 9090.
Building Docker Image
> docker build -t microsrvice .
> docker images
> docker run -p 9090:9090 microservice