/remix-playground

Learning Remix, react-router and (hopefully) some stuff about SSR.

Primary LanguageTypeScript

Welcome to Remix + Vite!

📖 See the Remix docs and the Remix Vite docs for details on supported features.

TODOs:

  • Create new post. Requirements:
    • New route
    • Action
    • Figure out how to use localstorage to save and extend it to fake json
  • Test components
  • Try custom styling components using OG CSS

Development

Run the Vite dev server:

yarn

yarn dev

Deployment

First, build your app for production:

yarn build

Then run the app in production mode:

yarn 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 npm run build

  • build/server
  • build/client