This is a simple Go application that has been configured to run on Back4app Containers. It serves a welcome page when accessed via a web browser.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- You should have Go installed on your local machine.
- Install Docker if you want to build and run the Docker container locally.
- Clone this repository:
git clone https://github.com/templates-back4app/containers-go-app.git
cd containers-go-app
- Start the development server:
go run main.go
Open http://localhost:8080 to view it in the browser.
To build a Docker image of the application, run the following command:
docker build -t containers-go-app .
To run the Docker container, use the following command:
docker run -p 8080:8080 containers-go-app
Now, the app is running at http://localhost:8080
The project can be deployed on Back4app Containers. Refer to the [Back4app Documentation]https://www.back4app.com/docs-containers) for more information.
- Back4app - Initial work - Back4app
See also the list of contributors who participated in this project.
This project is licensed under the MIT License