Unform is a simple, open-source alternative to Formspree. It allows you to create and manage forms without the need for a backend server. With Unform, you can easily collect form submissions, receive email notifications, and integrate with other services through webhooks.
- Email notifications
- Webhooks
- Integrations
- Access control
- Form management
- Submission tracking
Before you begin, ensure you have the following installed:
- Node.js (v16 or higher)
- Yarn package manager
- PostgreSQL database
git clone https://github.com/unproducts/unform.git
cd unformCreate a .env file in the root directory with the following variables:
PORT=3000
NUXT_DB_HOST="localhost"
NUXT_DB_PORT="5432"
NUXT_DB_USER="postgres"
NUXT_DB_PASSWORD="postgres"
NUXT_DB_DATABASE="unform"yarn installApply the database migrations:
yarn migration:applyyarn devThe application will be available at http://localhost:3000
yarn dev- Start development serveryarn build- Build for productionyarn generate- Generate static siteyarn preview- Preview production buildyarn migration:generate- Generate new migrationsyarn migration:apply- Apply database migrationsyarn drizzle:update- Update database schema
- Set up a PostgreSQL database
- Configure environment variables
- Build the application:
yarn build
- Deploy the generated files to your hosting provider
Coming soon...
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
For bug reports or feature requests, please open an issue.
If you encounter any problems or have questions, please Open an issue
Built with ❤️ by @unproducts
