This project is a powerful web page builder that combines the flexibility of CraftJS with the robustness of React, Tailwind CSS, and Firebase. It allows users to create dynamic web pages with a drag-and-drop interface while leveraging Firebase for authentication and database management. The project also incorporates shadcn UI components and Aceternity UI for enhanced design capabilities.
- Drag-and-drop page builder using CraftJS
- React-based frontend for a smooth user experience
- Tailwind CSS for utility-first styling
- shadcn UI components for consistent and customizable UI elements
- Aceternity UI for advanced animations and interactions
- Firebase Authentication for secure user management
- Firebase Realtime Database for storing and retrieving page designs
- Responsive design for various screen sizes
Before you begin, ensure you have the following installed:
- Node.js (v14 or later)
- npm (v6 or later)
- Firebase account and project set up
-
Clone the repository:
git clone https://github.com/5u00n/react-webpage-builder.git cd react-webpage-builder -
Install dependencies:
npm install -
Set up Firebase configuration:
- Create a
.envfile in the root directory - Add your Firebase configuration details:
REACT_APP_FIREBASE_API_KEY=your_api_key REACT_APP_FIREBASE_AUTH_DOMAIN=your_auth_domain REACT_APP_FIREBASE_PROJECT_ID=your_project_id REACT_APP_FIREBASE_STORAGE_BUCKET=your_storage_bucket REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id REACT_APP_FIREBASE_APP_ID=your_app_id
- Create a
-
Install and configure Tailwind CSS:
npm install -D tailwindcss npx tailwindcss init -
Install shadcn UI and Aceternity UI:
npm install @shadcn/ui aceternity-ui
-
Start the development server:
npm start -
Open your browser and navigate to
http://localhost:3000 -
Sign up or log in using Firebase Authentication
-
Start building your web pages using the drag-and-drop interface, leveraging Tailwind CSS classes, shadcn UI components, and Aceternity UI animations
-
Your designs will be automatically saved to Firebase Realtime Database
To deploy the application:
-
Build the project:
npm run build -
Deploy to Firebase Hosting:
firebase deploy
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- please remove material ui , and typescript , i dont wnat to loose funtionality and style , also use tailwind for stttyling