Zap is an innovative, in-browser site builder designed to revolutionize how you create and develop websites. Say goodbye to complex local setups and hello to a full-fledged development environment right in your web browser! 🚀 Craft, code, and deploy your web projects with unparalleled ease and efficiency.
- In-Browser Development Environment 💻 Spin up complete coding projects directly in your browser. Leveraging advanced WebContainer technology, Zap provides a sandboxed, fully functional development environment with an integrated code editor and comprehensive project management tools.
- Real-time Live Preview 👀 See your changes come to life instantly! As you code, Zap provides a dynamic, live preview of your website, allowing for immediate visualization and rapid iteration.
- AI-Assisted Development 🤖 Boost your productivity with integrated AI capabilities. Benefit from intelligent code generation, smart suggestions, and a built-in chat interface for interactive AI assistance.
- Secure User Authentication & Project Management 🔒 Log in effortlessly using Google OAuth (powered by NextAuth.js). Manage your sessions and access personalized project spaces where all your hard work is persistently saved and securely stored.
- Cloud Asset Management ☁️ Integrate seamlessly with Cloudinary to easily upload, manage, and host all your images and media assets directly in the cloud, streamlining your content workflow.
- Integrated Payment Processing 💰 Zap includes a secure payment system, ready to support monetization strategies for premium features, subscriptions, project exports, or other value-added services, leveraging JWTs for secure transactions.
- Next.js: A React framework for building full-stack web applications.
- React: A JavaScript library for building user interfaces.
- Next.js: For API routes and server-side logic.
- NextAuth.js: Secure authentication for Next.js applications, supporting Google OAuth.
- WebContainer: Powers the in-browser development environment.
- Cloudinary: Cloud-based media management platform.
- Razorpay: Payment gateway integration for secure transactions.
- JSON Web Tokens (JWT): For secure payment initiation and authorization.
Follow these steps to get Zap up and running on your local machine for development and testing purposes.
-
Clone the repository:
git clone [repository_url] cd zap(Replace
[repository_url]with the actual URL of the Zap repository) -
Install dependencies:
npm install # or yarn install -
Set up environment variables: Create a
.env.localfile in the root of the project and add the following environment variables. Obtain these from their respective service providers:NEXTAUTH_SECRETGOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETCLOUDINARY_CLOUD_NAMECLOUDINARY_API_KEYCLOUDINARY_API_SECRETPAYMENT_JWT_SECRETRAZORPAY_WEBHOOK_SECRET
-
Run the development server:
npm run dev # or yarn dev -
Access Zap in your browser: Open http://localhost:3000 to start building amazing websites!