This is the backend part of the application that provides conversation with Open AI chat GPT. To start the application you can use easy way - the link to deployed project:
Server is deployed and avalable via link:
https://openai-chat-backend.onrender.com
Also you can start the application on localhost. To do that follow the instructions:
- Clone both the frontend and backend parts of the app.
To do that follow the links above, and git clone
main branches.
-
Install dependencies in both projects using command
npm install
. -
Start the Backend app using
npm run dev
. App uses 3001 port. -
Start the Frontend app using
npm run start
. App uses 3000 port. -
Open http://localhost:3000 in your browser to interact with the Frontend.
-
Please, check api.js and auth.js in frontend part. To send requests to
localhost:3001
change baseUrl to 'http://localhost:3001' in those files.