2.0.0 • Published 1 year ago

formtastik v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Formtastik

Form API handler for Vercel Cloud projects.

Installation

npm i formtastik

Add the following to your next.config.js

transpilePackages: ["formtastik"]

Providers

Scaleway Transaction Email

Install the required dependency

npm i @scaleway/sdk

Create a file in the api directory with the following content:

import createFormHandler from "formtastik";
import scaleway from "formtastik/providers/scaleway";

export default createFormHandler({
  providers: [scaleway],
});

Add the following environment variables to your .env file

SCW_ACCESS_KEY=XXX
SCW_SECRET_KEY=XXX
SCW_PROJECT_ID=XXX
SCW_RECIPIENTS=joe@example.com,jane@example.com
SCW_EMAIL_SUBJECT='New form submission'
SCW_FROM_NAME='Your App'
SCW_FROM_EMAIL=noreply@example.com
2.0.0

1 year ago

2.0.0-beta.5

1 year ago

2.0.0-beta.4

1 year ago

2.0.0-beta.3

1 year ago

2.0.0-beta.2

1 year ago

2.0.0-beta.1

1 year ago