Skip to content

Remix Single: Newsletter Signup Form. More polished example on the newsletter form with Remix and ConvertKit.

Notifications You must be signed in to change notification settings

mhaidarhanif/remix-single-newsletter

Repository files navigation

Remix Single: Newsletter Signup Form

More polished example on the newsletter form with Remix and ConvertKit. Everything lives in routes/newsletter.tsx.

Documentation

Setup

Copy .env.example to .env and edit the file:

CONVERTKIT_API_KEY=abcdefghijklmnop
CONVERTKIT_FORM_ID=1234567

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!

If you're used to using the vercel dev command provided by Vercel CLI instead, you can also use that, but it's not needed.

Deployment

After having run the create-remix command and selected "Vercel" as a deployment target, you only need to import your Git repository into Vercel, and it will be deployed.

If you'd like to avoid using a Git repository, you can also deploy the directory by running Vercel CLI:

npm i -g vercel
vercel

It is generally recommended to use a Git repository, because future commits will then automatically be deployed by Vercel, through its Git Integration.

About

Remix Single: Newsletter Signup Form. More polished example on the newsletter form with Remix and ConvertKit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published