- 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
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