CSDD 1008 Week4 Assignment

Build a Simple CRUD API with Go and Push to GitHub

How to run API

home-page

Make sure GO is installed before running Go Lang

git clone https://github.com/DimanthaG/csdd1008_Go_API.git
cd csdd1008_week5
go run *.go

GET /gamestats (Lists all game stats)

home-page

Lists all of the game stats that is currently available

GET /gamestats/{id} (Lists specific id game stats)

home-page

Endpoint gets a gamestat by its ID number

POST /gamestats (Creates a new game stats)

home-page

Endpoint to create a new game stat

PUT /gamestats/{id} (Update game stats of specific id)

home-page

Update an already available game stat

DELETE /gamestats (Deletes Game Stat)

home-page

home-page

Deletes a game stat from the