This is a Next.js site that uses redis to store contact information, and allows for retrieval of contacts via searching.
- Clone the repository
gh repo clone ulrokx/contactsearch
- Install dependencies
yarn
ornpm install
- Go to redis hosting or download redis.
- Start a new database with Redisearch and RedisJSON modules installed.
- Create a
.env.local
file and put the database in the following format:REDIS_URL = redis://default:PASS@ADDRESS:PORT
filling in the password, endpoint address and port of the database - Run
npm run dev
oryarn run dev