Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunogarcia/nextjs-gpt3
AI writing assistant w/ GPT-3
https://github.com/brunogarcia/nextjs-gpt3
buildspace gpt-3 nextjs typescript
Last synced: about 1 month ago
JSON representation
AI writing assistant w/ GPT-3
- Host: GitHub
- URL: https://github.com/brunogarcia/nextjs-gpt3
- Owner: brunogarcia
- Created: 2022-12-03T18:13:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T18:32:02.000Z (almost 2 years ago)
- Last Synced: 2024-02-13T08:37:31.860Z (10 months ago)
- Topics: buildspace, gpt-3, nextjs, typescript
- Language: CSS
- Homepage:
- Size: 53.7 KB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-buildspace - nextjs-gpt3 - gpt3](https://bruno-nextjs-gpt3.vercel.app) | <img src="https://avatars.githubusercontent.com/u/366057?size=20" width="20"> [brunogarcia](https://github.com/brunogarcia) | (Leaderboard)
README
# AI writing assistant w/ GPT-3
A project following the instructions of [Buildspace](https://buildspace.so/builds/ai-writer) course.
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
> 🔔 Rename the file `.env.example` to `.env.local`. And then add your own API key from [OpenAI](https://beta.openai.com/account/api-keys).
Then, run the development server:
```bash
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.