Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (20 loc) · 1.16 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.16 KB

forms

Forms backend for the Mue website

Installation

Requirements

Starting

  1. Clone the repository using git clone https://github.com/mue/forms.git
  2. Run yarn or npm i to install all needed dependencies
  3. Install Vercel CLI with npm i -g vercel or yarn add global vercel
  4. Change the email and redirect in config.json to your own for testing and optionally change the ratelimit info
  5. 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
  6. Sign in and setup Vercel CLI with vercel dev. Use this command to start the server also

License

Form Code - MIT

Email Template - MIT (By Wildbit & Canvas)