This repository demonstrates how to create a GPT-powered virtual assistant using Back4app + OpenAI's Assistant API.
It uses Cloud Code on the backend and React on the frontend.
To setup the backend, follow the article.
- Clone the repository.
- Change active directory to frontend via
cd frontend
. - Install the dependencies via
npm install
. - Copy .env.example as .env and enter your credentials.
- Start the development server via
npm run dev
. - Open the browser and navigate to http://localhost:5173.
To deploy the frontend, run npm run build
and deploy the build directory to your favorite hosting provider.