Skip to content

Repository files navigation

🏏 SQL Premier League - Frontend

Product Hunt

🚀 SQL Premier League is the ultimate platform to master SQL with IPL Cricket Data. Solve real-world SQL challenges, track progress, and compete with others. 🏏

🔗 Live Site: sqlpremierleague.com


✨ Features

Solve SQL Challenges using IPL Cricket Data
Leaderboard & Stats to track progress
Auth System (JWT-based)
Dark Mode UI
Live Query Execution
Gamification & XP System


🛠️ Tech Stack

  • Frontend: React (Vite, Styled Components)
  • State Management: Context API
  • UI Framework: TailwindCSS
  • Auth: JWT (Token-based Auth)
  • Backend: SQL Premier League - Backend
  • Hosting: Firebase Hosting

🚀 Getting Started

🔧 Prerequisites

Ensure you have Node.js (18+) and npm/yarn installed.

📦 Installation

git clone https://github.com/sqlpremierleague/frontend.git
cd frontend
npm install  # or yarn install

🏃 Run Locally

npm run dev  # Starts development server at localhost:3000

🏗️ Build for Production

npm run build  # Creates optimized production build

Run Linter

npm run lint  # Checks for code issues

🤝 Contributing

🙌 We welcome contributions! Please follow these steps:

  1. Fork the repo
  2. Create a new branch (feature-xyz)
  3. Commit your changes (git commit -m "Added XYZ feature")
  4. Push to your fork (git push origin feature-xyz)
  5. Open a Pull Request 🚀

📌 Guidelines

  • Follow the Code of Conduct
  • Keep PRs small & focused
  • Ensure tests pass before submission
  • Respect the project's style guide

FAQ

Where is the backend?
👉 The backend is open-source at sqlpremierleague/backend

How do I report a bug?
👉 Open an Issue with details & screenshots

Can I suggest a feature?
👉 Absolutely! Use the Feature Request template in Issues


📢 Community & Support

💬 Join the discussion on Reddit, IndieHackers, and Discord.

🔗 Follow us on Twitter: @sqlpremierleague

📧 Contact Us: i.yush.004@gmail.com


📝 License

🔖 MIT License - Use, modify, and contribute freely! See LICENSE for details.

💙 Made with love for Cricket & SQL! 🏏

About

Learn SQL with sports

Resources

Stars

50 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages