Hi there,
It’s the first time I want to deploy code. I have built a graphql api using go. I don’t know if there are free-use platforms where we can deploy our code for the sake of practice.
Thanks
Hi there,
It’s the first time I want to deploy code. I have built a graphql api using go. I don’t know if there are free-use platforms where we can deploy our code for the sake of practice.
Thanks
You would have to tweak your service a tad to get the port to listen on from config, but you could deploy a container to Google Cloud Run and they have a free tier (I don’t think you need to enter any payment information to get started even but I could be wrong there). Getting started with Go is very easy:
Check out their pricing:
If you have a service that isn’t being used a ton you can totally run it in free tier. Digital Ocean and Vultr also have very cheap options. Finally, here is some free tier information from the major 3 cloud providers:
Once you have created your dockerfile, you can build and run the docker container using the following command:
docker build - t my-golang-app
docker run my-golang-app
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.