strapi / community-content

Contribute and collaborate on educational content for the Strapi Community
https://strapi.io/write-for-the-community
574 stars 400 forks source link

How to Build a Real-time Voice Chat Application with Strapi, Vue.js, and WebRTC #1539

Open ThatCoolGuyyy opened 2 months ago

ThatCoolGuyyy commented 2 months ago

What is your article idea?

To build a real-time voice chat application using strapi, Vue.js and WebRTC. It will cover key aspects such as setting up the backend with Strapi, implementing real-time functionality using WebSockets, and integrating WebRTC for peer-to-peer voice communication.

Tools Used

2. Prerequisites

2. Setting up the Strapi Backend

4. Building the Vue.js Frontend

5. Integrating WebRTC for Voice Chat

6. Connecting Frontend to Strapi

7. Conclusion

What are the objectives of your article?

The objectives of this article are to demonstrate how to build a real-time voice chat application using Strapi, Vue.js, and WebRTC. It aims to provide a comprehensive guide on integrating these technologies to achieve real-time communication, manage user interactions, and deploy a fully functional voice chat solution.

What readers will learn:

What is your expertise as a developer or writer?

Intermediate

What type of post is this?

Tutorial

Terms & Conditions

ThatCoolGuyyy commented 2 months ago

Hi @Theodore-Kelechukwu-Onyejiaku Please let me know if this topic is a good fit.

Theodore-Kelechukwu-Onyejiaku commented 2 months ago

Hi @ThatCoolGuyyy ,

This looks interesting. How do you plan on implementing socket.io? As for now, the Strapi plugin for socket.io doesn't work with Strapi 5. Or are you creating a custom plugin?

ThatCoolGuyyy commented 2 months ago

Hi @Theodore-Kelechukwu-Onyejiaku. Thanks for pointing this out. I can use the latest Strapi v4 if that's okay

Theodore-Kelechukwu-Onyejiaku commented 2 months ago

Hi @ThatCoolGuyyy . I guess you mean Strapi v5: https://strapi.io/five?

ThatCoolGuyyy commented 2 months ago

Not really @Theodore-Kelechukwu-Onyejiaku. Since Strapi v5 doesn't support the socket.io plugin for now. I was planning to use the Strapi v4 npx create-strapi-app@latest. Noticed an article that was published recently used this

Theodore-Kelechukwu-Onyejiaku commented 2 months ago

The article was already in review before the update about accept Strapi 5 articles.

I would rather you waited for Strapi 5 GA release, which is soon.

ThatCoolGuyyy commented 2 months ago

Alright then. Thanks @Theodore-Kelechukwu-Onyejiaku

Theodore-Kelechukwu-Onyejiaku commented 2 months ago

Alternatively, you could could use socket.io from NPM, not from the Strapi market, in your Strapi app. Let me know what you think.

ThatCoolGuyyy commented 2 months ago

That will work just fine. I can use that @Theodore-Kelechukwu-Onyejiaku

Theodore-Kelechukwu-Onyejiaku commented 2 months ago

Thank you. Please proceed. Thank you!

ThatCoolGuyyy commented 1 week ago

Hi @Theodore-Kelechukwu-Onyejiaku, this draft is now ready for your review https://hackmd.io/@O1lfLgEVTfWnWaOO_0TTrw/SkhacfUZJg

Theodore-Kelechukwu-Onyejiaku commented 3 days ago

Thank you very much @ThatCoolGuyyy ,

I will now add this to the review backlog!