Skip to content

improving-minnesota/property-search-redis

 
 

Repository files navigation

property-search-redis

This is just a basic scaffold to get one started with a property search API. Full-text search is provided by RediSearch run in a container. A Python script is provided to load sample data into RediSearch. A GO app provides the search API.


Primer for RediSearch:
https://www.youtube.com/watch?v=infTV4ifNZY&list=PLratyGi2ixLsqd3SRcsJticE9yt5LDX3R


Quick Start with Docker

  1. Run: docker-compose up
  2. Open your browser with a valid search URL. e.g. http://localhost:3000/search?q=9005

Data will automatically be loaded from "MessySampleData.txt"


API Search Reference

All searches use the HTTP GET method. Just set the appropriate query params as needed:

A health check URL is provided at /. e.g. GET http://localhost:3000/ returns HTTP Status 200 with {"message":"OK"}

Read the Go code in goapp/server.go for additional reference.

About

A generic real estate property search for demonstration purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 64.4%
  • Python 25.3%
  • Dockerfile 7.5%
  • Shell 2.8%