Skip to content

Star Wars Search, built using Vue JS and Elastic Search

Notifications You must be signed in to change notification settings

VinayakBagaria/SWAPI---Vue

Repository files navigation

Image

SWAPI

Ultimate Star Wars Search using ElasticSearch and Vue JS

Requirements

  • Elastic Search
  • Python 3
  • Vue JS

ES Config

Allow http access through Vue code by adding the following configs to /config/elasticsearch.yml file in ES directory.

ES Config

Now run elasticsearch. It should be up on port 9200.

Python Config

Installing requirements for python

Python Config

After a few seconds, you should see done indexing. Go to People Search . All the json files inside src directory get indexed into ES.

Vue Config

Now install packages defined in package.json by running

  npm install

Now run

  npm run dev

Voila...!! Type in a name in the search box and your result is the filtered names.

Credits

Hosted API
Django REST Source Code for the API