This project connect to openai for tutorial
sequenceDiagram
participant User
participant Frontend
participant Backend
participant OpenAPI
User->>Frontend: Request interaction
Frontend->>Backend: Call API
Backend->>OpenAPI: Fetch data from OpenAPI
OpenAPI->>Backend: Return data
Backend->>Frontend: Return result
Frontend->>User: Display result
Access to folder: back-end/back-end-openai-api
Change env_example
to .env
, update OpenAI API Key
Run npm run start
Access to folder: front-end/chat-app
Change env_example
to .env
, update back-end URL: http://localhost:3001
Run npm run dev