Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unbody-io/example-next.js
Example boilerplate for https://Unbody.io typescript in https://Netxjs.org (Page Router)
https://github.com/unbody-io/example-next.js
Last synced: about 2 months ago
JSON representation
Example boilerplate for https://Unbody.io typescript in https://Netxjs.org (Page Router)
- Host: GitHub
- URL: https://github.com/unbody-io/example-next.js
- Owner: unbody-io
- Created: 2024-04-18T15:56:03.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-08T12:27:59.000Z (9 months ago)
- Last Synced: 2024-08-13T07:16:59.615Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - unbody-io/example-next.js - Example boilerplate for https://Unbody.io typescript in https://Netxjs.org (Page Router) (TypeScript)
README
# Unbody Next.js Starter
This is a [Unbody.io](https://unbody.io) & [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).## Including examples of:
- [X] Semantic search using Unbody's `typescript` SDK
- [X] Generative search using Unbody's `typescript` SDK
- [X] Basic data retrieval using Unbody's `typescript` SDK
- [X] How to initialize Unbody's `typescript` SDK## Tech Stack
- [Next.js](https://nextjs.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [Unbody.io](https://unbody.io)
- [Tailwind CSS](https://tailwindcss.com/)## Getting Started
### Setup Unbody.io
1. Create an account on [Unbody.io](https://unbody.io)
2. Create a new project
3. Add your sources (this project supports `Google Drive`, `Discord`, and `Github Issues`)
4. Create a new API key - you can do this under the `Settings > Developer Settings` tab in your project.
5. Copy the API key and Project ID and paste it into the `.env.local` file in the root of this project.### Setup the project
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.