scaevola / chat-room

A simple chat room application powered by Yew and PubNub.

Home Page:https://yew-chat.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chat-room

rust.yml Netlify Status

A simple chat room application written in Rust powered by Yew.

banner

Requirements

  • PubNub Account
PubNub Signup

About PubNub

PubNub allows you to create chat apps from scratch or add them to your existing applications. You can focus on creating the best user experience while PubNub takes care of scalability, reliability, security, and global legislative compliance.

Get Your PubNub Keys

  1. Register a new PubNub account.

  2. Copy your unique PubNub keys from the PubNub Developer Portal.

  3. Click Apps, then Create New App.

  4. Give your app a name, and click Create.

  5. Click your new app to open its settings, then click its keyset.

  6. Copy the Publish and Subscribe keys and paste them into your app as specified in the next step.

Building and Running

  1. You'll need to run the following commands from your terminal.

  2. Fork/Clone the GitHub repository.

    git clone https://github.com/wiseaidev/chat-room
  3. Navigate to the application directory.

    cd chat-room
  4. Set your pub/sub keys as environment variables:

    export SUB_KEY_0="your-sub-key"
    export PUB_KEY_0="your-pub-key"
  5. Run the client:

    trunk serve --port 3000

Navigate to http://localhost:3000 to explore the app.

License

This project and the accompanying materials are made available under the terms and conditions of the Apache License Version 2.0.

About

A simple chat room application powered by Yew and PubNub.

https://yew-chat.netlify.app/

License:Apache License 2.0


Languages

Language:Rust 71.4%Language:CSS 26.3%Language:HTML 2.3%