Build a fulltext instant-search feature with Redis & Next.js.
npm install
This demo requires that you have a Redis database running in the cloud or locally. Create a file named .env.local
and export REDIS_URL
with your connection details. Example:
docker run -p 6380:6379 redislabs/redismod:preview
REDIS_URL=redis://localhost:6380
REDIS_URL=redis://default:PASSWORD@HOST:PORT
Start Project url
npm run dev
http://localhost:8080/api/createIndex