/remix-jokes

Remix showcase app

Primary LanguageTypeScript

Jokes app using Remix

This app is based on Remix Jokes app tutorial and the associated livestream workshop.

It will be enhanced little by little to showcase what is possible with Remix.

Demo

The app is live on Fly.io.

Quick install and run locally

yarn install
printf 'DATABASE_URL="file:./dev.db"\nSESSION_SECRET="blablablablabalbabla"' > .env
yarn db:reset
yarn dev

Deploy to Fly.io

1. Install the flyctl CLI:

On Ubuntu, run:

curl -L https://fly.io/install.sh | sh

Then put the fly binary in the PATH variable, in .profile:

# make the Fly.io tool available as fly command
if [ -d "$HOME/.fly/bin" ] ; then
    PATH="$HOME/.fly/bin:$PATH"
fi

2. Register to Fly.io

fly auth signup

This will open the browser and ask for some information, including a credit card (even if the current app works with the free tier).

3. Deploy the app

Follow the rest of the instructions in the jokes tutorial.