This repository contains the source code of the Polyflix Search microservice. The service is written in Kotlin by using the Spring Boot framework.
To run this project locally, you must match the following requirements :
- Have a Kafka instance on
localhost:9092
- Have an Elasticsearch instance on
localhost:9200
If you don't match the requirements, use the Bootstrap project to bootstrap your local env.
{
"trigger": "CREATE",
"payload": {
"id": "b091386e-2c44-4d4e-986f-8ca1d5442552",
"name": "Quiz 1"
}
}
pas testé, c'est a peu pret ça
{
"trigger": "CREATE",
"id": "b091386e-2c44-4d4e-986f-8ca1d5442552",
"fields": {
"id": "b091386e-2c44-4d4e-986f-8ca1d5442552",
"email": "[email protected]",
"username": "tgouveia",
"firstName": "Thomas",
"lastName": "Gouveia",
"avatar": "https://avatars.dicebear.com/api/identicon/dGhvbWFzLmdvdXZlaWFAZXR1LnVtb250cGVsbGllci5mcg==.svg",
"roles": ["MEMBER"]
}
}