leptos/projects/meilisearch-searchbar
Ben Wishovich c676cf921d Make get_configuration sync (#2647)
* Made get_configuraiton sync

* Update examples
2024-08-01 19:42:49 -04:00
..
src Make get_configuration sync (#2647) 2024-08-01 19:42:49 -04:00
.gitignore docs: add projects directory with 4 projects (#2500) 2024-04-17 19:30:31 -04:00
Cargo.toml docs: add projects directory with 4 projects (#2500) 2024-04-17 19:30:31 -04:00
data_set.csv docs: add projects directory with 4 projects (#2500) 2024-04-17 19:30:31 -04:00
Makefile.toml docs: add projects directory with 4 projects (#2500) 2024-04-17 19:30:31 -04:00
README.md docs: add projects directory with 4 projects (#2500) 2024-04-17 19:30:31 -04:00

Meilisearch Searchbar

This show how to integrate meilisearch with a leptos app, including a search bar and showing the results to the user.

We'll run meilisearch locally, as opposed to using their cloud service.

To get started install meilisearch into this example's root.

curl -L https://install.meilisearch.com | sh

Run it.

./meilisearch

Then set the environment variable and serve the app. I've included the address of my own local meilisearch server. I didn't provide a password to meilisearch during my setup, and I didn't provide one in my environment variables either.

MEILISEARCH_URL=http://localhost:7700 && cargo leptos serve

Navigate to 127.0.0.1:3000 and start typing in popular American company names. (Boeing, Pepsi, etc)

Thoughts, Feedback, Criticism, Comments?

Send me any of the above, I'm @sjud on leptos discord. I'm always looking to improve and make these projects more helpful for the community. So please let me know how I can do that. Thanks!