View demo: https://remix-admin-template.netlify.app/
The Remix Supabase starter demonstrates how to integrate Supabase into an Remix project deployed on Netlify.
If you click "Deploy to Netlify" button, it will create a new repo for you that looks exactly like this one, and sets that repo up immediately for deployment on Netlify.
To use this template, you’ll need to set up and seed a new Supabase database.
- Create a new Supabase project.
- Run the SQL commands found in the
supabase/migrations
directory in the Supabase UI. - To seed the database with data, you can import the contents of the
supabase/seed.csv
file in the Supabase UI.
ℹ️ Note: This template was created to be used with the Supabase extension for Netlify. If you don’t wish to use the Netlify Supabase extension, you will need to set the SUPABASE_DATABASE_URL
and SUPABASE_ANON_KEY
environment variables in the .env
file.
Run the dev server:
npm run dev
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.
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
This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.
If you get stuck along the way, get help in our support forums.