Skip to content

A simple go rest api built with gorm, mux and mysql

Notifications You must be signed in to change notification settings

niemet0502/go-rest-api

Repository files navigation

Go REST API

This project is a simple REST API built using the go programming language. The API implements a CRUD for managing video games.

Technical stack

Regarding the stack, you'll find:

  • Gorilla/mux to implement the request routing.

  • MySQL our database.

  • Docker for our containerization platform.

  • GORM the orm library to interact with the database.

Requirement

Usage

  • Clone the repository
    cd https://github.com/niemet0502/go-rest-api
  • Change directory
    cd go-rest-api
    docker compose up --build

Compose will build the image then run the services.

You should be able to access the server at http://localhost:1909

Testing

Documentation

Demo

Create a new game

Get games list

Get single game

Built by

Releases

No releases published

Packages

No packages published