Skip to content

Example of using Lucia with Remix + custom server using getLoadContext to validate session once per request instead of every time in loaders

Notifications You must be signed in to change notification settings

romanslonov/lucia-remix-example

Repository files navigation

Welcome to Remix!

Development

From your terminal:

npm run dev

This starts your app in development mode, rebuilding assets on file changes.

Deployment

First, build your app for production:

npm run build

Then run the app in production mode:

npm start

Now you'll need to pick a host to deploy it to.

DIY

If you're familiar with deploying node applications, the built-in Remix app server is production-ready.

Make sure to deploy the output of remix build

  • build/
  • public/build/

About

Example of using Lucia with Remix + custom server using getLoadContext to validate session once per request instead of every time in loaders

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published