Skip to content

rezadaulay/reactjs-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactJS OpenAI Frontend

This repository contains the frontend of an application that integrates with the OpenAI API, using React.js. It works in conjunction with the backend repository expressjs-openai.

Installation

  1. Clone the repository:

    git clone https://github.com/rezadaulay/reactjs-openai.git
  2. Navigate into the project directory:

    cd reactjs-openai
  3. Install dependencies:

    npm install

Usage

  1. Ensure the backend server from the expressjs-openai repository is running.

  2. Start the React development server:

    npm run dev
  3. Visit http://localhost:5173 in your web browser.

  4. Use the provided interface to interact with the OpenAI API via the backend server.

Configuration

You can configure the application by modifying the .env file. This file contains settings such as the backend server URL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published