GitHunt
CR

form builder for your next application

desk-image

app | docs | mail

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

  1. Clone the repository:
   git clone https://github.com/creative-tutorials/desk.git
  1. Navigate to the project directory:
   cd desk
  1. Install dependencies:
   bun install
  1. Set up environment variables:
    We use an .env file to store our database keys and other secrets. If you have issues connecting to our server you can ask for help via mail.

  2. Run the development server:

   bun dev
  1. Open http://localhost:3000 to view the app in the browser.

Using Desk on our Prod Server

  1. Navigate to desk
  2. Login to the dashboard to start creating your forms.
  3. Add fields to your form by selecting the desired input types (text, email, dropdowns, etc.).
  4. Once you're satisfied with the form, click Generate Code.
  5. 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:

  1. Fork and clone the repository.
  2. Ensure you have the LTS version of Node.js installed.
  3. Install the project dependencies by running bun install.
  4. Create a new branch (git checkout -b feature-branch).
  5. Commit your changes (git commit -m 'Add new feature').
  6. Push to the branch (git push origin feature-branch).
  7. Open a pull request.

License

This project is licensed under the MIT License.

Languages

TypeScript98.6%CSS1.3%JavaScript0.2%

Contributors

MIT License
Created August 10, 2024
Updated September 7, 2024
creative-tutorials/desk | GitHunt