Skip to content

A simple chat room application powered by Yew and PubNub.

License

Notifications You must be signed in to change notification settings

scaevola/chat-room

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 https://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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 71.4%
  • CSS 26.3%
  • HTML 2.3%