BeerStore is an API built for academic purposes.
Installation Mode in creation
Up Terraform (AWS)
$ ./run-terraform.sh
Up Ansible
$ ./run-ansible.sh
Access an instance in EC2
$ ssh ...
$ sudo docker service create --name beerstore -e SPRING_DATASOURCE_URL=jdbc:postgresql://URL_DO_RDS_DA_SUA_CONTA:5432/beerstore -p 8080:8080 --network service <NOME_IMAGEM>: --replice 3
import foobar
foobar.pluralize('word') # returns 'words'
foobar.pluralize('goose') # returns 'geese'
foobar.singularize('phenomena') # returns 'phenomenon'
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.