- Download this project to your local machine:
$ git clone https://github.com/labovichl333/Meetup.git
- Run
$ mvn install
from the root folder of the downloaded project - Run
$ docker compose up
- Start to send requests to the endpoints
Route | HTTP | Description |
---|---|---|
/api/v1/meetups | GET |
Get all meetups |
/api/v1/meetups/{id} | GET |
Get meetup by id |
/api/v1/meetups | POST |
Create meetup |
/api/v1/meetups/{id} | DELETE |
Delete meetup by id |
/api/v1/meetups/{id} | PUT |
Update data of the meetup by id |
/api/v1/meetups GET
endpoint you can use by
combining any of these parameters: topic
, organizer
, startTime
, endTime
to filter meetups.
To set the sorting order you should add paramet
521B
er sort
.
Parameter sort
include key:value
expressions separated by ,
The following parameters can be used as the key :
- topic
- organizer
- scheduledTime
The following parameters can be used as the values :
- asc
- desc
The order of sort expressions affects the result