Github: @Andrewsoares | Twitter/X: @andrewwbxd
Project Url repository
This project is playfully experimental and designed solely for the purposes of a developer challenge and fun engagement on social media. While it's optimized for performance exploration, it's not equipped with the necessary considerations and robustness required for real-world production environments. If you're seeking a battle-tested solution for actual production deployment, we strongly recommend looking into more suitable options.
Let's have fun with us, in the next edition. Follow to more informations https://twitter.com/rinhadebackend
- Java 17
- Spring Boot
- Docker / Docker compose (container orchestrator)
- Redis (Distributed Cache)
- Nginx (Load balancer)
- Postgres (Database)
- execute
docker-compose up
- API will be available in the URL
http://localhost:9999
- Swagger will be available in the URL
http://localhost:9999/swagger
- API Endpoints available
GET /ping
health check, returnpong
if the API is up.POST /pessoas
for creating a record in the tablePeople
using the format message below{ "apelido" : "josé 12", "nome" : "José Roberto", "nascimento" : "2012-03-08T00:00:00", "stack" : ["C#", "Node", "Oracle"] }
GET /pessoas/[id]
for retrieving a record of a person created using replacing[id]
with theperson id
.GET /pessoas/t=[your search]
for retrieving records that contain the words informed, replace[your search]
with your actual search.GET /contagem-pessoas
for retrieving the number of people created.