A LeetCode-inspired platform for practicing coding challenges with a modern tech stack
LeetCloned is a fully functional LeetCode clone built with modern web technologies, designed to help developers practice coding challenges in an intuitive environment. The platform features a clean UI, real-time code execution, and progress tracking.
- 10 Curated Coding Problems covering essential algorithms
- Real-time Code Editor with syntax highlighting
- Code Execution & Testing with custom backend
- User Progress Tracking with Firebase integration
- Responsive Design for all devices
- Type-Safe Development with TypeScript
- Modern UI/UX with Tailwind CSS
- Server-Side Rendering with Next.js 14
- Real-time Database with Firebase
- Secure Authentication system
## 🚀 Quick Start
### Prerequisites
- Node.js 18+ installed
- Firebase account
- Git
### Installation
1. **Clone the repository**
```bash
git clone https://github.com/Harmit3/leetcloned.git
cd leetcloned
-
Install dependencies
npm install # or yarn install -
Environment Setup Create a
.env.localfile in the root directory: -
Run the development server
npm run dev # or yarn dev -
Open your browser Navigate to http://localhost:3000
- Two Sum - Easy
- Reverse Linked List - Easy
- Valid Parentheses - Easy
- Binary Search - Easy
- Merge Two Sorted Lists - Easy
- Maximum Subarray - Medium
- Climbing Stairs - Easy
- Invert Binary Tree - Easy
- Valid Palindrome - Easy
- Best Time to Buy and Sell Stock - Easy
- React 18 - UI library
- Next.js 14 - React framework with App Router
- TypeScript - Type safety
- Tailwind CSS - Utility-first CSS framework
- Monaco Editor - VS Code editor component
- Firebase Firestore - Real-time database
- Firebase Auth - User authentication
- Next.js API Routes - Serverless functions
- Vercel - Platform for frontend deployment
- Firebase Hosting - Backend services
- Create a new Firebase project
- Enable Firestore Database
- Enable Authentication
- Add your web app to get configuration keys
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on git push
The project is automatically deployed to Vercel when pushing to the main branch.
Live Site: https://leetcodecloned.vercel.app/
# Build the project
npm run build
# Deploy to Vercel
npx vercel --prodI welcome contributions from the community! Since I have exams coming up, I won't be able to actively develop until my Christmas vacation, but I'd love to see your ideas and improvements.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- First, make judge0 for these 10 problems
- Adding new coding problems
- Enhancing code execution performance
- Adding test cases
- Bug fixes and optimizations
If you find this project helpful, consider supporting my work:
Your support helps me continue developing and maintaining this project!
- LeetCode for inspiration
- Vercel for seamless deployment
- Firebase for backend services
- The open-source community for amazing tools and libraries
⭐ Don't forget to star the repository if you find this project useful!
Note: Development will resume after my exams during Christmas vacation. Looking forward to your contributions and suggestions! 🎄