Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.01 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.01 KB

Gaming Facts

logo_api

Description

A simple api that returns a random interesting fact about videogames/gaming.

I wholeheartedly believe in learning-by-doing, so this is my first step into learning Go.

Example Usage

curl https://gamingfacts.cfsilva.com/

Response

{
  "fact": "‘Pac-Man’ was designed to attract female gamers, which led to the character’s round shape and love for eating."
}

Limitations

The API is limited to 20 requests per minute.

Documentation

Deployment

The API is deployed on a VPS using Docker and Nginx.

Local Development

Clone the repository

git clone https://github.com/s1lvax/gamingfacts

Install dependencies

go mod download

Run API

go run main.go