-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from dinxsh/dinxsh-patch-5
Update README.md
- Loading branch information
Showing
1 changed file
with
129 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,143 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
# Sanity Esports | ||
|
||
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. | ||
|
||
## Table of Contents | ||
|
||
1. [Features](#features) | ||
2. [Getting Started](#getting-started) | ||
3. [Installation](#installation) | ||
4. [Usage](#usage) | ||
5. [Configuration](#configuration) | ||
6. [Contributing](#contributing) | ||
7. [License](#license) | ||
8. [Contact](#contact) | ||
|
||
## Features | ||
|
||
- **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. | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
To get a local copy up and running follow these simple steps. | ||
|
||
### Prerequisites | ||
- [Next.js](https://nextjs.org/) | ||
- [Node.js](https://nodejs.org/) (v14.x or higher) | ||
- [npm](https://www.npmjs.com/) | ||
- [MongoDB](https://www.mongodb.com/) | ||
|
||
### Installation | ||
|
||
1. **Clone the repository:** | ||
|
||
```sh | ||
git clone https://github.com/dinxsh/sanity.git | ||
cd sanity | ||
``` | ||
|
||
2. **Install NPM packages:** | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
3. **Set up your environment variables:** | ||
|
||
Create a `.env` file in the root directory and add the following variables: | ||
|
||
```env | ||
DATABASE_URL | ||
MONGODB_URL= | ||
RESEND_API_KEY= | ||
NEXTAUTH_SECRET= | ||
``` | ||
|
||
### Running the Application | ||
|
||
1. **Start the development server:** | ||
|
||
```sh | ||
npm start | ||
``` | ||
|
||
2. **Open your browser and navigate to:** | ||
|
||
```plaintext | ||
http://localhost:3000 | ||
``` | ||
|
||
## Usage | ||
|
||
### Creating a Tournament | ||
|
||
1. Log in as an organiser. | ||
2. Navigate to the "Create Tournament" page. | ||
3. Fill in the tournament details, such as name, game, format, and rules. | ||
4. Click "Create" to publish the tournament. | ||
|
||
### Registering for a Tournament | ||
|
||
1. Log in to your account. | ||
2. Browse the available tournaments. | ||
3. Select a tournament and click "Register." | ||
4. Follow the on-screen instructions to complete your registration. | ||
|
||
## Configuration | ||
|
||
### Customization | ||
|
||
To customize the application, modify the following files: | ||
|
||
- **Frontend:** `src/components/` and `src/styles/` | ||
- **Backend:** `src/api/` and `src/auth/` | ||
|
||
Refer to the [documentation](docs/configuration.md) for detailed customization instructions. | ||
|
||
## Contributing | ||
|
||
We welcome contributions from the community! To get started, please read our [Contributing Guide](CONTRIBUTING.md). | ||
|
||
### Fork the Repository | ||
|
||
1. Fork the project on GitHub. | ||
2. Clone your fork locally: | ||
|
||
```sh | ||
git clone https://github.com/dinxsh/sanity-esports.git | ||
cd sanity-esports | ||
``` | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
3. Create a new branch for your feature or bug fix: | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
```sh | ||
git checkout -b feature/your-feature-name | ||
``` | ||
|
||
You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file. | ||
4. Commit your changes and push to GitHub: | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
```sh | ||
git commit -m "Add your commit message here" | ||
git push origin feature/your-feature-name | ||
``` | ||
|
||
## Learn More | ||
5. Create a pull request on the original repository. | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
## License | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
Distributed under the MIT License. See `LICENSE` for more information. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
## Contact | ||
|
||
## Deploy on Vercel | ||
- **Project Maintainer:** Your Name - [[email protected]](mailto:[email protected]) | ||
- **GitHub Repository:** [Sanity Esports - Dinesh](https://github.com/dinxsh/sanity) | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
--- | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
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. |