https://github.com/soorajnraju/searchify
A nextjs 14 app to search using keywords
https://github.com/soorajnraju/searchify
Last synced: 4 months ago
JSON representation
A nextjs 14 app to search using keywords
- Host: GitHub
- URL: https://github.com/soorajnraju/searchify
- Owner: soorajnraju
- License: mit
- Created: 2024-02-25T04:04:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-25T10:08:06.000Z (over 1 year ago)
- Last Synced: 2025-01-12T22:08:30.377Z (6 months ago)
- Language: TypeScript
- Size: 433 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Searchify
Searchify is a Next.js 14 application designed to search a keyword in a data source, such as Contentful, using the GraphQL API. It provides autocomplete functionality and displays search results on a new page.
## Getting Started
First, ensure you have set up your environment by creating a `.env.local` file. You can refer to the `.env` file added to this repository for reference.
```bash
# Example .env.local file
{
CONTENTFUL_API_KEY=your-contentful-api-key
CONTENTFUL_ENDPOINT=your-contentful-graphql-endpoint
}
```Next, install dependencies and run the development server:
```
npm install
npm run dev
# Or
yarn install
yarn dev
# Or
pnpm install
pnpm dev
# Or your preferred package manager
```Open http://localhost:3000 with your browser to see the result.
Keywords e.g. "ker", "mah"

