Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.32 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.32 KB

Remix with Vercel Postgres

This project was a love child of the base Remix and Vercel example that was created by the amazing TooTallNate, and the Vercel Storage examples from Next and SvelteKit.

It is a hacky version of how to use Remix with Vercel Postgres.

You can craete a new remix project using this as a starter via

npx create-remix@latest --template https://github.com/dalmaer/postgres-remix postgres-remix

And you will want to copy the .env.example to .env and fill in the Postgres environment variables from your Vercel deployment.

Deploy Your Own

Deploy with Vercel

Live Example: https://postgres-remix.vercel.app

You can also deploy using the Vercel CLI:

npm i -g vercel
vercel

Development

To run your Remix app locally, make sure your project's local dependencies are installed:

npm install

Afterwards, start the Remix development server like so:

npm run dev

Open up http://localhost:3000 and you should be ready to go!