Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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.