https://github.com/formspree/formspree-example-netlify-plugin
https://github.com/formspree/formspree-example-netlify-plugin
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/formspree/formspree-example-netlify-plugin
- Owner: formspree
- License: other
- Created: 2022-08-31T23:21:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T16:17:57.000Z (over 3 years ago)
- Last Synced: 2025-01-24T22:43:12.140Z (over 1 year ago)
- Language: TypeScript
- Size: 2.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# formspree-example-netlify-plugin
An event registration website powered by Vite and React, configured for easy deployment to Netlify.

This template includes the Formspree CLI plugin, along with a formspree.json file pre-configured for a registration form that sends to Discord.

## How to deploy
Just click the button!
[](https://app.netlify.com/start/deploy?repository=https://github.com/formspree/formspree-example-netlify-plugin)
You'll be asked to include the following values to populate the site's environment variables:
```
VITE_FORMSPREE_PROJECT_ID = "Formspree CLI project ID"
FORMSPREE_DEPLOY_KEY = "Formspree CLI project deploy key"
DISCORD_WEBHOOK_URL = "Discord webhook URL"
```
To get the Formspree CLI project ID and deploy key, create a new CLI project. The project id and deploy key will be shown in the sidebar.
To create a discord webhook to receive form submissions follow the guidance on the discord help site: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks