A simple API that uses Meilisearch as the engine for "List" endpoints, it uses an event driven backend to asynchronously update the index
- Go
- Docker
- Make
make sure you have a .env file setup (see .envrc for an example)
makeGET http://localhost:8080/vehicles HTTP/1.1
GET http://localhost:8080/vehicles/:id HTTP/1.1
POST http://localhost:8080/vehicles HTTP/1.1
PUT http://localhost:8080/vehicles/:id HTTP/1.1
DELETE http://localhost:8080/vehicles/:id HTTP/1.1Note: make sure all query params are properly URL encoded
| Param | Description | Example |
|---|---|---|
| search | a general purpose search | search=Bugatti |
| order | a key-value pair to order the results by | order=created_at:desc |
| filter | filter by a specific query (see meilisearch docs for details | filter=horse_power>500 |
| size | the maximum allowed size per page | size=50 |
| page | the page to query into | page=3 |