Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 910 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 910 Bytes

Websocket Example

This repository contains a basic websocket application, designed as a foundation for building and deploying real-time applications on Genezio.

Getting Started

Prerequisites

  • Node.js installed on your local machine.
  • npm install genezio -g
  • A Genezio account.

Installation

  1. Clone the Repository:

    git clone https://github.com/Genez-io/websocket-getting-started.git
    cd websocket-getting-started
    
  2. Log In to Genezio:

    genezio login
    
  3. To run the application locally:

    genezio local
    
  4. Deploy the Application:

    genezio deploy
    

How to test

You can use Postman to test the websocket connection. Select Websocket Protocol when creating a new request. Also, don't add "http://" or "https://" in front of the URL. Read more here.