A small fizzbuzz API implementation with a clean architecture using go, postgresql, redis, pgadmin and a supertest/jest tester. (docker-compose)
source env.sh
docker-compose up -d
The API is accessible on localhost:8080.
You will find the postam collection from the fizzbuzz.postman_collection.json
exported file.
You will also find the API documentation here.
docker-compose exec postgres psql # to access the postgres cli (psql)
docker-compose exec redis sh -c 'redis-cli -h redis' # to access the redis cli
Pgadmin is accessible on localhost:5050.
The API synchronous tester is built with supertest/jest on node.js.
docker-compose run --rm supertest
The test erase all data on postgresql and redis!