Sample crud web application project using Golang(http, templates, os, sql), Bootstrap 4, DataTables, MySQL.
MIT License
Sample crud web application project using Golang(http, templates, os, sql), Bootstrap 4, DataTables, MySQL, Docker.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software
git clone https://github.com/le4ndro/gowt.git
cd gowt
go mod download
CREATE DATABASE gowtdb CHARACTER SET utf8 COLLATE utf8_unicode_ci;
USE gowtdb;
CREATE TABLE tools (
id int(11) NOT NULL AUTO_INCREMENT,
name varchar(80) COLLATE utf8_unicode_ci DEFAULT NULL,
category varchar(80) COLLATE utf8_unicode_ci DEFAULT NULL,
url varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
rating int(11) DEFAULT NULL,
notes text COLLATE utf8_unicode_ci,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DATABASE_NAME="gowtdb"
DATABASE_USERNAME="user"
DATABASE_PASSWORD="pass"
DATABASE_SERVER="localhost"
DATABASE_PORT="3306"
make run
make build
./out/bin/gowt
\out\bin\main.exe (Windows)
make docker-build
make docker-release
make docker-run
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details