/Fast-Proximity-API

Built using FastAPI, Uber H3 library

Primary LanguageJupyter Notebook

h3-clean

To run:

Need to have Redis running on localhost with default port (6379)

  1. Create and activate virtual env. (tested with 3.8.5)
  2. pip install -r "requirements.txt"
  3. uvicorn main:app

Endpoints:

  1. /add_job
  2. /find_jobs
  3. /edit_job

instructions on endpoints available at http://127.0.0.1:8000/docs

notes on redis:

  1. CONFIG GET dir to know where the dump file is. (Persistence)
  2. CONFIG SET appendfsync always to keep all data safe