Skip to content

A simple project that demonstrates how to use MeiliSearch and Phoenix to build a blazing-fast search engine.

License

Notifications You must be signed in to change notification settings

Allyedge/movies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movies

A simple project that demonstrates how to use MeiliSearch and Phoenix to build a blazing-fast search engine.

Example

movies

Features

  • Search movies
  • See the processing time of the search
  • Infinite scroll

Technologies

Setup

  • Pull the latest version of the meilisearch image
> docker pull getmeili/meilisearch:v1.0
  • Create a new meilisearch instance
> docker run -it --name meilisearch -p 7700:7700 -e MEILI_ENV=development -v $HOME/docker/volumes/meili_data:/meili_data getmeili/meilisearch:v1.0
  • Add the data/movies.json dataset to the meilisearch instance
> curl -X POST 'https://localhost:7700/indexes/movies/documents?primaryKey=id' -H 'Content-Type: application/json' --data-binary @data/movies.json
  • Start the web application
> cd movies

> mix setup

> mix phx.server

About

A simple project that demonstrates how to use MeiliSearch and Phoenix to build a blazing-fast search engine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published