A minimal contact form starter using Next.js and FormsDK with PostgreSQL.
FormsDK works with any PostgreSQL database. Tested providers:
Sign up at any of the providers above and create a PostgreSQL database.
Copy the connection string from your provider's dashboard.
Create a .env file in the root of the project:
DATABASE_URL=postgres://user:password@host/database?sslmode=require
bun db:pushbun i
bun devOpen http://localhost:3000.
- Contact form with name, email, and message fields
- Form validation via @formsdk/sdk
- PostgreSQL integration for data persistence
- Works with any PostgreSQL provider