https://github.com/diegokarabin/testgo
https://github.com/diegokarabin/testgo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/diegokarabin/testgo
- Owner: DiegoKarabin
- Created: 2025-03-07T06:41:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-07T06:51:05.000Z (7 months ago)
- Last Synced: 2025-03-07T07:31:50.427Z (7 months ago)
- Language: Go
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solution by Diego Karabin
## Problem
Build an API that fetch from https://randomuser.me/api/ 15000 records of random users.
Fetch gender, first name, last name, email, city, country, and uuid for each user.
The endpoint should take up to 2.5s to respond with the required information.## Requirements
- Golang
- Gin
- Go-redis
- RedisTo run redis with docker use:
```bash
docker run -p 6379:6379 --name redis -d redis
```To run project:
```bash
go run . # inside the folder
```## Video demonstration
https://www.loom.com/share/beca5d830ee7454da61b0496d2c2be16