LucasBassetti / react-simple-chatbot

:speech_balloon: Easy way to create conversation chats
https://lucasbassetti.com.br/react-simple-chatbot/
MIT License
1.72k stars 596 forks source link

Api call : how i can call question from my api and render it, how to store chat in local storage and save it in to db #320

Open Raj26-dev opened 2 years ago

Raj26-dev commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Raj26-dev commented 2 years ago

done with api data fetching , but now i stuck to manage custom component like making dynamic drop-down, multi-select, date-picker. so can you please guide me for this

MukeshV46 commented 2 years ago

How did you fetch with API plz tell me

bhavesh-provoyants commented 9 months ago

@Raj26-dev How did you fetch question from api? and how to store user answer into DB using api?

salahbm commented 5 months ago

Hi there, I was doing same logic with chat bot fetching questions and store the answers. Storing the answer is successfull but idk how to implement the logic for fetching quesitons step by step. Could anyone solve this ?