Skip to content

alrafiabdullah/algolia_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algolia Search

Requirements

  • Considering you already have an account set up in Algolia
  • Create and activate a virtual environment
  • Run pip install -r requirements.txt
  • Create secrets.json with the following contents:
{
    "DJANGO_SECRET_KEY": "",
    "ALGOLIA_APPLICATION_ID": "",
    "ALGOLIA_API_KEY": ""
}

Must be the Admin API Key

  • Run python manage.py makemigrations
  • Run python manage.py migrate
  • Run python manage.py runserver

Active Endpoints

127.0.0.1:8000?car_name=ANY_CAR_ATTRIBUTE - GET - searches for the car

127.0.0.1:8000 - POST - creates 1000 car records

About

Algolia search implementation with Django.

Topics

Resources

Stars

Watchers

Forks

Languages