Skip to content

Generate and run React applications by providing prompts to GPT-4. This combines the power of natural language processing with web development to streamline the creation of React apps. The project consists of a backend Streamlit app written in Python

Notifications You must be signed in to change notification settings

vishk23/React-Website-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REACT-POC

This project allows you to generate and run a React app based on prompts processed through GPT-4. The backend is handled with a Streamlit app in Python, and the frontend is a React application.

Prerequisites

  • Python 3.x
  • Node.js and npm

Installation and Setup

  1. Clone the Repository:

    can clone it using: git clone https://github.com/vishk23/react-java.git REACT-POC

  2. Navigate to the Project Directory: cd REACT-POC

  3. Install Python Dependencies: pip install -r requirements.txt

  4. Install JavaScript Dependencies:

Navigate to the chatgpt-react-generator directory and install the necessary packages. cd chatgpt-react-generator npm install

  1. Running the Project:

Run the Streamlit app: cd .. streamlit run generator.py

The Streamlit app will handle the starting of the React app as well.

Usage

  1. Open the Streamlit app in your browser (usually at http://localhost:8501).
  2. Enter a description for your desired React app.
  3. Click "Generate and Run React App" to generate the React code and view the result of the React app in another browser tab (usually at http://localhost:3000)

About

Generate and run React applications by providing prompts to GPT-4. This combines the power of natural language processing with web development to streamline the creation of React apps. The project consists of a backend Streamlit app written in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages