This project is a fully functional clone of Eraser.io built with Next.js, React, TypeScript, and Tailwind CSS. The application is a collaborative drawing tool where multiple users can draw on a shared canvas in real-time.
eraserio_clone-main/
├── app/ # Application files
├── components/ # React components
├── convex/ # Real-time data backend
├── lib/ # Utility libraries
├── public/ # Static assets
├── .vscode/ # VSCode workspace settings
├── .gitignore # Files to ignore in git
├── next.config.mjs # Next.js configuration
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── tailwind.config.ts # Tailwind CSS configuration
├── README.md # Project documentation
└── .env # Environment variables (not included in version control)
Before running the project, ensure you have the following installed:
Clone the repository:
git clone https://github.com/yourusername/eraserio-clone.git
cd eraserio-clone
Install dependencies:
npm install
Add Environment Variables:
Create a .env
file in the root directory and add any required environment variables (for Convex, Firebase, etc.).
Run the application:
npm run dev
The app will be running on http://localhost:3000
.
Build for Production: To build the app for production, run:
npm run build
Deploy: Deployment can be done using any Next.js compatible hosting platform (e.g., Vercel, Netlify, etc.). Follow the platform-specific instructions for deployment.
To learn more about the technologies used in this project, check out the following resources:
This project is licensed under the MIT License.