Table of Contents
Project was started with the task to create a system for internal use to create tournaments with a bracket system.
We used the project to practice our NuxtJS skills and to try out Nuxt 3 (which was barely released at the time back then)
The Quest (Oppgaven)
- Should work somewhat like [Challonge](https://challonge.com/)
- Use Nuxt 3
-
Partial Tasks
-
Clarify roles in the project
- Project leader (gives statusupdate every wednesday)
- Designer
- Backend-dev
- Frontend-dev
-
Make a plan for which pages are needed. F.eks:
- Register tournament
- Tournament player setup preview
- Tournament page for registering match scores
- Page where next page is displayed
- More?
-
- Make a sketch in Figma. Should follow Appex's color scheme.
- Find out how you wish to store data
- Find out what technology you want to use for backend
- Can we use already existing open-source code to make it easier? F.eks Vue bracket component
- Begin with a proof-of-concept
- Make a good data model for backend (required objects and fields)
- CRUD logic for data model and setup API endpoints in backend for this.
- Make frontend pages and components for the required pages
- Send necessary data between frontend and backend
- Test and ajust
- Invite to the first test tournament "Appex Billiards 2022" :D
Frontend was written in Nuxt, with Tailwind, C# .NET for backend and MongoDB for database.
To get a local copy up and running follow these simple steps.
To run this project you'll need to have nodejs installed on your computer. You can download it here
Get latest npm version
-
npm
npm install npm@latest -g
-
yarn
npm install -g yarn
-
Clone the repo
git clone https://github.com/ArvidWedtstein/Appex-Tournaments.git
-
Install NPM packages
npm install
-
Create a .env file in the both frontend and backend directory and add your environment variables.
-
Setup SEQ for backend logging.
-
Setup some more stuff which i can't remember.
We hosted the frontend part on netlify, and backend on google cloud. Both are no longer up and running.
Can be used to create tournaments :)
- To create a new tournament, hit "Opprett turnering"
!Name cannot be longer than 69 characters.
Press on arrow when you have filld the input fields- Adjust the amount of players with
[+]
and[-]
symbols
Click so on Ny Turnering
- You will now get a setup of the tournament.
Click on Begynn turnering
to start tournament immediately.
You can also click on Utsett turnering
to play the tournament later.
If your pressed Begynn turnering
you should get a view of the tournament.
- To choose a winner for a match, you simple click on the winners name.
NB Next round's matches will first be generated when the first one is completed.
To see your past tournaments, click on Se tidligere turneringer
.
Each tournament shows the amount of players and the current status of the tournament.
- To edit a tournament you have to click on
Se tidligere turneringer
.
- Click so on the tournament you want to edit
You'll get a menu where you can edit name, players and date.
- Press save
Lagre
to save the changes.
You can also press delete Slett
to let the tournament magically disappear.
Nothing planned for this project in the future
See the open issues for a full list of proposed features (and known issues).
Thanks to Victor, Harald, David and Appex for teaching us Nuxt and C#.