Skip to content

🎮 a simple api which returns an interesting fact about gaming

License

Notifications You must be signed in to change notification settings

s1lvax/gamingfacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🎮 a simple api which returns an interesting fact about gaming

Topics

Resources

License

Stars

Watchers

Forks