Skip to content

Web server built with Go Programming Language, Fiber framework and MariaDB.

Notifications You must be signed in to change notification settings

amalmadhu06/mariadb-fiber-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web server with MariaDB and GoFiber

Test Locally

1. Clone Repository to local machine

git clone https://github.com/amalmadhu06/mariadb-fiber-go.git

2. Change directory

cd mariadb-fiber-go

3. Download dependencies

go mod download

4. Set up a MariaDB database

Set up a MariaDB database and add schema and data in the pkg/db/sql folder

5. Configure .env

Rename the .env.example to dev.env and update the content according to your database set up.

6. Run the server locally

make run 

Endpoints

curl -X GET http://127.0.0.1:3000/offer/us
curl -X GET http://127.0.0.1:3000/offer/fr
curl -X GET http://127.0.0.1:3000/offer/ca
curl -X GET http://127.0.0.1:3000/offer/br

About

Web server built with Go Programming Language, Fiber framework and MariaDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published