Web Builder is a web application that allows users to quickly and easily create simple websites by dragging and dropping various elements. With elements like Name, Description, Image, Form (Name, Number), and Spacer, you can build a simple website, preview it, and access it directly. The dashboard lists all your websites, allowing for easy editing. Additionally, all websites come with dark and light mode functionality, enhancing productivity while working.
fibrvid.mp4
To get started with Web Builder locally, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/web-builder.git
- Navigate to the project directory:
cd web-builder
- Install dependencies using Yarn:
yarn install
- Start the development server:
yarn run dev
-
Access the application: Open your web browser and go to
http://localhost:3000
. -
Create a Form:
- Click on "Create a Form" or select an existing template to edit.
- You will be redirected to
http://localhost:3000/builder/{id}
.
-
Drag and Drop Elements:
- Drag and drop elements like Title, Description, Image, Form fields (Name, Number), and Spacer onto your form.
- Customize the properties of each element by clicking on them and editing the properties panel. Press "Enter" after making any changes to apply them.
-
Preview Your Site:
- Once you are satisfied with your form, click the "Preview" button to see how your site will look.
- Make any additional adjustments as needed.
By following these steps, you can quickly set up Web Builder locally, create and customize your forms, and preview your sites.
for Running this Project you need to add these environmnet variable in .env file
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= CLERK_SECRET_KEY= NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
POSTGRES_PRISMA_URL="your_prisma_url" POSTGRES_URL_NON_POOLING="Your_url"
npx prisma studio
Go to localhost:5000
- Next.js 13 with App Router
- Dnd-kit library
- Server Actions
- TypeScript
- Tailwind CSS / Shadcn UI
- Vercel PostgreSQL
- Prisma as ORM
- Cross Platform: Works seamlessly across different devices.
- Responsive: Adapts to various screen sizes for an optimal viewing experience.
- Drag and Drop Designer: Create forms effortlessly with a stunning drag-and-drop interface.
- Layout Fields: Title, SubTitle, Spacer, Separator, Paragraph.
- Form Fields: Text, Number, Select, Date, Checkbox, Textarea.
- Customizable Fields: Easily add and customize new fields.
- Form Preview Dialog: Preview forms before finalizing.
- Light/Dark Mode Toggle: Switch between light and dark modes for a comfortable user experience.
- Add more elements to the drag-and-drop interface.
- Enhance flexibility by allowing specific width adjustments on the screen.
- Add more properties to elements for better customization.
- Integrate AI tools to generate basic templates with essential elements.
Enjoy building your websites with Web Builder!
We welcome contributions! Please read our Contributing Guide to learn how you can help.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries, please contact us at abhi953434@gmail.com.
Enjoy building your websites with Web Builder!