This repository contains a React frontend and a Node.js backend for an OpenAI-powered chat assistant.
-
Frontend: The React app is located in the
openAi-assistant-frontend
directory. It runs on port 3000. -
Backend: The Node.js server is located in the
openAi-assistant-nodejs
directory. It runs on port 3001.
-
Navigate to the
openAi-assistant-frontend
directory.cd openAi-assistant-frontend
1.1. Install dependencies
npm install
1.2. Start the React app.
npm start
The app will be accessible at http://localhost:3000.
-
Navigate to the
openAi-assistant-nodejs
directory.cd openAi-assistant-nodejs
2.1. Install dependencies
npm install
2.2. Start the Node.js server.
npm start
The server will be accessible at http://localhost:3001.