This repository contains a basic websocket application, designed as a foundation for building and deploying real-time applications on Genezio.
- Node.js installed on your local machine.
npm install genezio -g
- A Genezio account.
-
Clone the Repository:
git clone https://github.com/Genez-io/websocket-getting-started.git cd websocket-getting-started
-
Log In to Genezio:
genezio login
-
To run the application locally:
genezio local
-
Deploy the Application:
genezio deploy
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.