/remix-chat

An edge-based real-time chat application built with Remix

Primary LanguageTypeScript

Welcome to Remix Chat!

Stack Details

This application is deployed on on the edge via Cloudflare Pages built with:

Development

To run the application locally, you should use the wrangler CLI so you can leverage the Cloudflare runtime. This is already wired up in the package.json as the dev script:

# start the remix dev server and wrangler
yarn run dev

Open up http://127.0.0.1:8788 and you should be ready to go!

Building the Application

In order to create a static build of your application run:

yarn run build

and the /public directory will have all your ouputs.

Deployment

Before deploying ensure you have a Cloudflare account setup & email verified.

To deploy the application you can use the wrangler CLI:

yarn run pages:deploy

or you can use the Git provider integration on the Cloudflare dashboard and configure your build options.