This project provides an interface to host and manage contact form forwarders. It is based on Nextjs and uses Payload CMS as the application framework. The main features are:
- Team creation and role based user management
- Double opt-in forwarding-address verification
- OpenAI integration for spam filtering of form submissions
Clone the repository and install the dependencies:
npm installNote: To run the project you will need a MongoDB instance, credentials for OpenAI, as well as SMTP credentials for sending emails.
Create an .env file in the project root with the following keys:
NEXT_PUBLIC_HOST_URLThe base URL where the site will be availableDATABASE_URIConnection string for MongoDBOPENAI_API_KEYOpenAI API keyPAYLOAD_SECRETChoose a random string that will be used to encrypt user tokensSMTP_HOSTSMTP endpointSMTP_USERSMTP usernameSMTP_PASSSMTP password
This project is under active development. Features and APIs will change frequently.
To start the development server run:
npm run dev