Skip to content

Training project, working with gin and mysql to create a REST API

Notifications You must be signed in to change notification settings

sbabashahi/ginTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a training project. I tried to create simple REST API with go, gin and connect to mysql.

mysql

sudo docker run --name mysql --rm -e MYSQL_ROOT_PASSWORD=1234 -p 3306:3306 mysql:5.7

mysql -h 127.0.0.1 -P 3306 -u root -p

show database;
create database ginTest;

AIR -> https://github.com/cosmtrek/air after installation of it in project add alias air='./bin/air' to .bashrc and add bin directory and .air.toml to project.

About

Training project, working with gin and mysql to create a REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages