feathersjs / docs

[MOVED] Legacy Feathers documentation
https://crow.docs.feathersjs.com/
MIT License
242 stars 532 forks source link

Using Chat GPT #1579

Closed corepay closed 11 months ago

corepay commented 1 year ago

Hello @daffl

Just an FYI don't know if you played with this yet but I was surprised to see ChatGPT was featherJS aware. Would be interesting to think through this a little and integrate a little AMA widget in your docs...

image image
corepay commented 1 year ago

For grins and giggles quick I asked In feathersjs I want to create a simple chat app with login

Results:

image image image image image image

The last comment in code block reads:

This chat component uses the `feathers-client` package to connect to the `chat-messages` service via socket.io and perform CRUD operations. The `createMessage` function creates a new chat message by calling the `create` method of the `chat-messages` service, while the `getMessages` function retrieves the latest chat messages by calling the `find` method with a sorting and pagination query.

With these steps, you should have a working chat application with login using FeathersJS. Of course, this is just a basic example and you may need to add more functionality or customization depending on your specific use case.

Had a little hiccup there in the end and I had to force it to continue and it mixed up the code blocks with the comments but generally looks like they got it right.