web

package module
v0.0.0-...-30f252d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: ISC Imports: 29 Imported by: 0

README

Tournify

I have archived this repository as I have decided to no longer support this project.

This is the web application for Tournify.io (English) and the corresponding Swedish site Turnering.io.

Current features

  • Group tournament creation

Future features

  • Elimination Tournaments
  • Double Elimination Tournaments
  • An API for registered users
  • Ability to see previous tournaments
  • Admin statistics
  • UI customization to personalize tournament pages

This project is based on the Golang base project and uses the Tournify package to create tournaments.

Docker

I recommend copying docker-compose.yml and creating a docker-compose.local.yml file where you can make changes. Then run the following command:

docker-compose -f docker-compose.yml -f docker-compose.local.yml up --build

Translations

This project uses go-i18n to handle translations. Only English and Swedish is currently supported but I would gladly add more languages if someone would like to contribute.

To update languages first run goi18n extract to update active.en.toml. Then run goi18n merge active.*.toml to generate translate.*.toml which can then be translated. Finally, run goi18n merge active.*.toml translate.*.toml to merge the translated files into the active files.

Contributions

Contributions are welcome and greatly appreciated. Please note that I am not looking to add any more features to this project but I am happy to take care of bugfixes, updates and other suggestions. If you have a question or suggestion please feel free to open an issue. To contribute code, please fork this repository, make your changes on a separate branch and then open a pull request.

For security related issues please see my profile, @uberswe, for ways of contacting me privately.

License

Please see the LICENSE file in the project repository.

Documentation

Overview

Package web is the main package of tournify which defines all routes and database connections and settings, the glue to the entire application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

This section is empty.

Directories

Path Synopsis
cmd
Package config defines the env configuration variables
Package config defines the env configuration variables
Package email handles the sending of emails
Package email handles the sending of emails
Package middleware defines all the middlewares for the application
Package middleware defines all the middlewares for the application
Package models defines all the database models for the application
Package models defines all the database models for the application
Package routes defines all the handling functions for all the routes
Package routes defines all the handling functions for all the routes
Package util provides utility functions for various things such as strings
Package util provides utility functions for various things such as strings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL