https://github.com/angudadevops/golang_webapp
Golang web application with MySQL DB
https://github.com/angudadevops/golang_webapp
golang-application golang-db golang-web golang-web-apllication
Last synced: 2 months ago
JSON representation
Golang web application with MySQL DB
- Host: GitHub
- URL: https://github.com/angudadevops/golang_webapp
- Owner: angudadevops
- Created: 2020-08-10T23:13:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T21:28:30.000Z (almost 5 years ago)
- Last Synced: 2023-07-19T19:56:00.482Z (almost 2 years ago)
- Topics: golang-application, golang-db, golang-web, golang-web-apllication
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang Web Application
This Web App helps to user compose and send an email with Golang
Prerequisites
- GO# Web Applications
- [Mail Web Application](#Mail-Application)
- [Web Application with DB](#Web-Application-with-DB)## Mail Application
Run the below command to access the application
```
git clone https://github.com/angudadevops/golang_webapp.gitgo run mail.go
```If you don't have go environment, you can use docker to use this application
Run the below command to access the web application
```
sudo docker run -d --name goweb -p 80:8080 anguda/golang:mail
```Access application from your browser with below url
```
http://hostIP:8080
```
## Web Application with DBRun the below command to access the application
```
git clone https://github.com/angudadevops/golang_webapp.gitgo run main.go
```If you don't have go environment, you can use docker to use this application
Run the below commands to create mysql DB with Golang Web Application
```
docker run -d -p 3306:3306 --name mysql anguda/mysql
docker run -d -p 8081:8080 --name gowebapp --link mysql anguda/golang:web-app
```
Access application from your browser with below url
```
http://hostIP:8081
```