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
Arjun Aditya is building Gray Cup - a company which is around tea, coffee, and softwares. You can explore more below
He still writes code, designs interfaces, and somehow keeps moving forward with a cup of tea or coffee in hand [ the ritual that keeps him sane when the burnout starts creeping in ]
Buy coffee or tea:
Bulk coffee or tea: