R
R
RxApi
Search
⌃
K
R
R
RxApi
Search
⌃
K
Introduction
Basic configuration
HTTP
Router
Routes/Controller
WEBSOCKETS
Events
DATABASE/ORM (KNEX)
Basic configuration
Migrations and cli
Powered By
GitBook
Comment on page
Events
Files in "./sockets/events.js"
module
.
exports
=
(
socket
,
db
)
=>
{
socket
.
on
(
'hello'
,
data
=>
{
console
.
log
(
`
Hello
${
data
.
name
}
`
);
});
};
HTTP - Previous
Routes/Controller
Next - DATABASE/ORM (KNEX)
Basic configuration
Last modified
3yr ago