Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/constantiner/ai-powered-nutrition-app

GPT-3 App with Next.js, React, and GitHub Copilot
https://github.com/constantiner/ai-powered-nutrition-app

next nextjs nextjs13 openai openai-api react reactjs tailwind tailwind-css typescript

Last synced: 26 days ago
JSON representation

GPT-3 App with Next.js, React, and GitHub Copilot

Awesome Lists containing this project

README

        

# GPT-3 App with Next.js, React, and GitHub Copilot

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)

This is an implementation of the code from the tutorial found in [this article](https://github.blog/2023-07-25-how-to-build-a-gpt-3-app-with-nextjs-react-and-github-copilot/) for building a GPT-3 app with Next.js, React, and GitHub Copilot.

## Getting Started

To get started with this implementation, follow these steps:

1. Clone this repository to your local machine.
2. Install the necessary dependencies by running `npm install`.
3. Create a `.env.local` file in the root directory of the project and add your OpenAI API key as follows:

```properties
OPENAI_API_KEY=your_api_key_here
```

4. Run the development server by running `npm run dev`.
5. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Contributing

If you find any issues with this implementation or would like to contribute to its development, please open an issue or submit a pull request.

## License

This implementation is licensed under the [MIT License](LICENSE).