A full-stack SQL competition platform with a React frontend and Node.js backend.
bit-by-query/
├── client/ # React frontend application
│ ├── src/ # Source code
│ ├── public/ # Static assets
│ └── package.json # Frontend dependencies
├── server/ # Node.js backend application
│ ├── server.js # Main server file
│ ├── lib/ # Utility libraries
│ ├── data/ # Data and configuration files
│ │ ├── problems/ # SQL competition problems
│ │ ├── schema.sql # Database schema
│ │ └── users.json # User data
│ └── package.json # Backend dependencies
├── package.json # Root workspace configuration
└── README.md # This file
- Node.js (v16 or higher)
- npm or yarn
-
Clone the repository
git clone https://github.com/swarooppatilx/bit-by-query.git cd bit-by-query
-
Install all dependencies
npm install
-
Start development servers
npm run dev
This will start both the backend server and frontend development server concurrently.
- Start backend only:
npm run dev:server
- Start frontend only:
npm run dev:client
- Build frontend:
npm run build
- Start production server:
npm start
- Located in
server/
directory - Express.js API server
- SQLite database for data persistence
- JWT authentication
- MySQL to SQLite query parser
- Located in
client/
directory - React application with Vite
- Tailwind CSS for styling
- Responsive design
- SQL query competition platform
- User authentication and registration
- Real-time query execution
- Leaderboard system
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.