Sanity Esports is an open-source platform designed to host and manage gaming tournaments. It provides a seamless experience for organizers, players, and viewers, ensuring efficient management and high engagement. This repository contains the source code, documentation, and resources necessary to run your own esports tournaments.
- Tournament Management: Create, manage, and track various types of gaming tournaments.
- User Registration: Allow users to register and participate in tournaments.
- Bracket Generation: Automatic generation of tournament brackets and match scheduling.
- Live Updates: Real-time updates of match results and leaderboards.
- Notifications: Email and in-app notifications for important events and updates.
- Analytics: Insights and analytics for tournament performance and user engagement.
- Customizable: Flexible settings to customize tournament rules, formats, and visuals.
To get a local copy up and running follow these simple steps.
-
Clone the repository:
git clone https://github.com/dinxsh/sanity.git cd sanity
-
Install NPM packages:
npm install
-
Set up your environment variables:
Create a
.env
file in the root directory and add the following variables:DATABASE_URL= MONGODB_URL= RESEND_API_KEY= NEXTAUTH_SECRET=
-
Start the development server:
npm start
-
Open your browser and navigate to:
http://localhost:3000
- Log in as an organiser.
- Navigate to the "Create Tournament" page.
- Fill in the tournament details, such as name, game, format, and rules.
- Click "Create" to publish the tournament.
- Log in to your account.
- Browse the available tournaments.
- Select a tournament and click "Register."
- Follow the on-screen instructions to complete your registration.
To customize the application, modify the following files:
- Frontend:
src/components/
andsrc/styles/
- Backend:
src/api/
andsrc/auth/
Refer to the documentation for detailed customization instructions.
We welcome contributions from the community! To get started, please read our Contributing Guide.
-
Fork the project on GitHub.
-
Clone your fork locally:
git clone https://github.com/dinxsh/sanity-esports.git cd sanity-esports
-
Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
-
Commit your changes and push to GitHub:
git commit -m "Add your commit message here" git push origin feature/your-feature-name
-
Create a pull request on the original repository.
Distributed under the MIT License. See LICENSE
for more information.
- Project Maintainer: Dinesh Talwadker - [email protected]
- GitHub Repository: Sanity Esports - Dinesh
Feel free to modify this template according to your project's specifics and needs. Adding screenshots, diagrams, and links to additional documentation can also enhance the README.