desk is a form builder that enables anyone to easily create forms for their next application With a simple and intuitive interface, you can create forms, add fields, and generate ready-to-use code to integrate into your codebase without manually typing HTML elements.
Features
- Form Creation: Create fully customizable forms with various field types.
- Code Generation: Generate well-styled form code with just one click. Copy and paste the code directly into your codebase.
- User Dashboard: Manage all your forms and fields through an easy-to-use dashboard.
- Custom Styling: Styled with Tailwind and Shadcn to ensure flexibility and a modern look.
Tech Stack
Frontend
- Next.js: Server-side rendering and fast frontend framework.
- Tailwind CSS: Utility-first CSS framework for custom designs.
- Shadcn: Component library built for Tailwind CSS.
Backend
- Node.js: JavaScript runtime for building scalable server-side applications.
- Express.js: Fast and lightweight web framework for Node.js.
- Xata: Database for storing form data and user submissions.
Codebase
- TypeScript: Ensures type safety and scalability across the project.
Installation
- Clone the repository:
git clone https://github.com/creative-tutorials/desk.git- Navigate to the project directory:
cd desk- Install dependencies:
bun install-
Set up environment variables:
We use an.envfile to store our database keys and other secrets. If you have issues connecting to our server you can ask for help via mail. -
Run the development server:
bun dev- Open http://localhost:3000 to view the app in the browser.
Using Desk on our Prod Server
- Navigate to desk
- Login to the dashboard to start creating your forms.
- Add fields to your form by selecting the desired input types (text, email, dropdowns, etc.).
- Once you're satisfied with the form, click
Generate Code. - Copy the code and paste it into your own codebase for a fully styled and functional form.
Contributing
Contributions are welcome! Please follow the guidelines below:
- Fork and clone the repository.
- Ensure you have the LTS version of Node.js installed.
- Install the project dependencies by running
bun install. - Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
License
This project is licensed under the MIT License.
On this page
Languages
TypeScript98.6%CSS1.3%JavaScript0.2%
Contributors
MIT License
Created August 10, 2024
Updated September 7, 2024