Forms backend for the Mue website
- Clone the repository using
git clone https://github.com/mue/forms.git
- Run
yarn
ornpm i
to install all needed dependencies - Install Vercel CLI with
npm i -g vercel
oryarn add global vercel
- Change the email and redirect in config.json to your own for testing and optionally change the ratelimit info
- Set the environment variables for "MAILGUN_KEY", "MAILGUN_DOMAIN" and "HCAPTCHA_SECRET", "UMAMI_URL". These can be found in the various admin dashboards of the services. Also set "VALID_TEST" to any message you want, this will appear in the email so you know it's legitimately sent from your contact form
- Sign in and setup Vercel CLI with
vercel dev
. Use this command to start the server also
Form Code - MIT
Email Template - MIT (By Wildbit & Canvas)