Vale ressaltar que esse código serve apenas para os objetivos da rinha... Então, nenhum padrão foi aplicado. Foi criado puramente por diversão. ·-· Repo do zan -> rinha backend 2ª edição.
@@@@@@@@@@@@@@@ @@@@@@@@
@@@@@ @@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@ @@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@ @@@@@ @@@@@@@@@@@@@@@@@@@@@ @@@@@
@@@@@@@@@@ @@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@
@@@@@@@@@@@ @@@@@@@@@@@ @@@@ @@@@@@@ @@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@ @@@@ @@@@@@@ @@@@@ @@@@@@@@@@@@@@@@@@@ @ @@@
@@@@@@ @@@ @@@@@@ @@@@@@ @@@@ @@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@
@@@@@@@@@@ @@@@@ @@@@@@@@@@@@@ @@@@@ @@@@ @@@@@@@@@ @@@@@@@@@ @@@@@@@ @ @@
@@@@@ @@@@@ @@@@@@@@@@@@@ @@@@@ @@@@ @@@@@@@ @@@@@@@@@ @@@@@@@@@@@@@
@@@@@ @@@@@@@@@@ @@@@@ @@@@ @@@@@ @@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ @ @@@@@@@ @
@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@ @@ @@@@@@ @@ @@ @@ @@ @@ @@@@@@@@@
@@@@@@ @@@@@@ @@@@@ @@ @@ @@ @@ @@ @@@@ @@@@@@ @@@@ @@
@@@ @@@@@ @@ @@@@@ @@@@@@@@ @@ @@@@ @@@ @ @ @@@ @@@@ @
@@@ @@@ @@@@@@ @@@@@@ @@ @@@ @@@ @@@@@@@@@@ @@@@@@@@@@@@ @@@@ @ @
@ @ @@ @@@ @@@@@ @@ @ @ @ @
@@@
- Golang (v1.22)
- PostgreSQL
- Nginx
$ make
Usage: make <target>
up Build containers
clean Clear all
health.check Check if it went up ok
stress Run stress tests
docker.build Build docker image
docker.push Push docker image
$ docker-compose -f docker-compose.yml up -d --build
# Or
$ make up
Health-check
$ curl -v http://localhost:9999
Obs: You can see the preview in ./result (run on my machine) ·-·
$ make stress
# Maybe this command doesn't work for you
$ google-chrome-stable stress-test/user-files/results/**/index.html