Skip to content

emical/suggest-3-gifts-idea-openai-react

 
 

Repository files navigation

suggest-3-gifts-idea-openai-react

This is an example pet name generator app used in the OpenAI API . It uses the React.js framework with React. Check out the tutorial or follow the instructions below to get set up.

Setup

  1. If you don’t have Node.js installed, install it from here

  2. Clone this repository

  3. Navigate into the project directory

    $ cd suggest-3-gifts-idea-openai-react
  4. Install the requirements

    $ npm install
  5. Make a copy of the example environment variables file

    On Linux systems:

    $ cp .env.example .env

    On Windows:

    $ copy .env.example .env
  6. Add your API key to the newly created .env file

  7. Run the app

    $ npm run dev

You should now be able to access the app at http://localhost:3000! For the full context behind this example app, check out the tutorial.

About

suggest-3-gifts-idea-openai-react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.9%
  • CSS 6.0%
  • Shell 0.1%