Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Time chat Application with Strapi and React Native #1390

Open
1 task done
icode247 opened this issue May 3, 2024 · 2 comments
Open
1 task done

React Time chat Application with Strapi and React Native #1390

icode247 opened this issue May 3, 2024 · 2 comments
Assignees
Labels
In progress Tutorial being created Intermediate Expertise

Comments

@icode247
Copy link

icode247 commented May 3, 2024

What is your article idea?

This topic will cover the following sections:

  • Introduction
  • Setting up the Development Environment
    • Installing Expo CLI for React Native development.
    • Setting up a new Strapi project.
    • Installing necessary dependencies for Strapi development.
  • Designing the Data Model
    • Creating users and message collections in Strapi.
    • Creating relationships between users and messages.
  • Implementing User Authentication
    • Setting up user authentication using Strapi's built-in features
    • Creating authentication endpoints for user registration, login, logout, etc.
    • Securing API endpoints with authentication middleware.
  • Setting up Real-time Communication
    • Integrating websockets with Strapi using the strapi-plugin-io plugin.
    • Configuring real-time events for sending messages
    • Creating a WebSocket connection from the React Native app.
  • Building the React Native UI
    • Creating the main screens for user authentication (login, register) and chat interface.
    • Creating navigation between screens using React Navigation.
    • Creating the chat interface with message input, message list, and user list.
  • Implementing Chat Functionality
    • Fetching the list of users and messages from the Strapi backend.
    • Sending messages in real-time using websockets.
    • Displaying incoming messages in real-time.
    • Implementing a typing indicator to show when a user is typing a message.
    • Implementing push notifications for new messages.
    • Adding image and file upload functionality to the chat.
  • Conclusion
    • Summary of the project and key learnings.

What are the objectives of your article?

The objective of this tutorial is to provide developers with a comprehensive and hands-on guide for building a real-time chat application using Strapi and React Native. By the end of this article, the reader will learn how to set up the development environment, design the data model, implement user authentication, integrate real-time communication, and add features like push notifications and file uploads.

What is your expertise as a developer or writer?

Advance

What type of post is this?

Tutorial

Terms & Conditions

  • I have read the Write for the Community program guidelines.
@icode247
Copy link
Author

icode247 commented May 3, 2024

Hi @Theodore-Kelechukwu-Onyejiaku
I would like to write on this topic next.

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @icode247 ,

This looks good. Please proceed! 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In progress Tutorial being created Intermediate Expertise
Projects
None yet
Development

No branches or pull requests

2 participants