All Projects → Caligone → hapio

Caligone / hapio

Licence: other
A simple bridge plugin between HapiJS and SocketIO

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to hapio

instagram-clone-frontend
📸 Um clone do instagram, onde você pode logar/registrar, criar novos posts, seguir outros usuários e ver os posts das pessoas que você segue.
Stars: ✭ 16 (-23.81%)
Mutual labels:  socketio
socket.io-client-core
High-Performance Socket.IO client in C#
Stars: ✭ 70 (+233.33%)
Mutual labels:  socketio
nestjs-throttler-storage-redis
Redis storage provider for the nestjs-throttler package.
Stars: ✭ 56 (+166.67%)
Mutual labels:  socketio
asynction
SocketIO python framework driven by the AsyncAPI specification. Built on top of Flask-SocketIO. Inspired by Connexion.
Stars: ✭ 40 (+90.48%)
Mutual labels:  socketio
BiB
📚 Library Management Application for Elementary Schools
Stars: ✭ 38 (+80.95%)
Mutual labels:  hapijs
vue-socket-io-example
Vue + Socket.io for the masses
Stars: ✭ 28 (+33.33%)
Mutual labels:  socketio
uno-online
Two player online game of UNO. Made using React and Socket.IO
Stars: ✭ 106 (+404.76%)
Mutual labels:  socketio
titanium-socketio
Use the native Socket.io SDK's with Axway Titanium.
Stars: ✭ 25 (+19.05%)
Mutual labels:  socketio
web full stack application
show full stack technology applications : Scrapy + webservice[restful] + websocket + VueJS + MongoDB
Stars: ✭ 16 (-23.81%)
Mutual labels:  socketio
hapi-project
Sample Project of Node.js with HapiJS and Boostrap
Stars: ✭ 15 (-28.57%)
Mutual labels:  hapijs
xQube
Boilerplate for realtime 3D rendering and server-side physics in HTML5 and NodeJS
Stars: ✭ 1 (-95.24%)
Mutual labels:  socketio
fastapi-socketio
Easily integrate socket.io with your FastAPI app 🚀
Stars: ✭ 198 (+842.86%)
Mutual labels:  socketio
hapi-cli
CLI to build API with Hapi, mongodb and mongoose. Work with Hapi V17.
Stars: ✭ 36 (+71.43%)
Mutual labels:  hapijs
hapi-now-auth
Hapi token auth for bearer and jwt
Stars: ✭ 43 (+104.76%)
Mutual labels:  hapijs
hapi-react-fullstack-boilerplate
Hapi, Sequelize, React, etc.
Stars: ✭ 21 (+0%)
Mutual labels:  socketio
hapi-good-winston
A good reporter to send and log events with winston
Stars: ✭ 21 (+0%)
Mutual labels:  hapijs
pdfdraw
Nextcloud app to annotate PDF documents
Stars: ✭ 32 (+52.38%)
Mutual labels:  socketio
Nine-chat-frontend
采用socketio打造的多人实时通讯多房间在线音乐聊天室
Stars: ✭ 54 (+157.14%)
Mutual labels:  socketio
SocketIOServer
A simple socket.io tutorial using netty-socketio
Stars: ✭ 24 (+14.29%)
Mutual labels:  socketio
react-nes
React components for nes
Stars: ✭ 32 (+52.38%)
Mutual labels:  hapijs

hapio

Dependency Status devDependency Status Build Status Coverage Status Greenkeeper badge

A simple bridge plugin between HapiJS and SocketIO.

Plugin registration

const server = new Hapi.Server({
    port: 3000,
    host: 'localhost',
});

async function start() {
    try {
        await server.register(hapio, {
            serverOptions: {
                // socket.io options
            }
        });
        await server.start();
    } catch (e) {
        console.error(e);
    }
}
start();

Using hapio

const io = server.plugins.hapio.io;

io.on('connection', function(socket) {
    console.log(`${socket.id} connected !`);
    socket.on('test', function(e) {
        console.log('Test received !');
    });
});

hapio options

A great idea?

Do not hesitate to make a pull request

An issue with hapio?

Just open an issue on Github and I will fix it as soon as possible

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].