bastilian / AAAPI

Async Action API
0 stars 1 forks source link

Configure server with express adapter #14

Closed bastilian closed 1 year ago

bastilian commented 1 year ago

In order to use websockets, we will need to configure a server to run with the express adapter for remix.

A example basic server can be found/copied from here: https://github.com/bastilian/poard/pull/3/files#diff-a4c65ede64197e1a112899a68bf994485b889c4b143198bac4af53425b38406f

There is also the change of the npm run dev scripts to run node ./server.js instead of remix:run:dev above the mentioned server.js file.