Refactor project structure and update configurations. Now first working version
- Updated `.air.conf` for Nix compatibility and simplified build commands. - Enhanced `.gitignore` to include `tmp` directory. - Improved `README.md` with clearer instructions and added language details. - Refined CSS styles for better UI consistency and added alert styles. - Upgraded `flake.nix` to use Go 1.24 and improved shell environment setup. - Modified authentication logic in `auth.go` for better user handling. - Updated `main.go` to dynamically set the listening port and improved logging. - Added new `routes.go` file for handling game entry and history. - Enhanced user models and added statistics tracking in `models.go`. - Improved template rendering and added user feedback messages in HTML templates. - Removed obsolete build error logs and binaries.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
# QRank
|
||||
|
||||
The *easy* tracker for tabletop soccers with QR code integration.
|
||||
|
||||
The **easy** tracker for tabletop soccers with QR code integration.
|
||||
Everything is still in development. Feel free to open issues and or pull requests.
|
||||
|
||||
This application is build with [go](https://go.dev/) and [gin](https://gin-gonic.com/). Other languages like HTML and CSS are used.
|
||||
|
||||
## Getting started
|
||||
|
||||
To run the application go to the root directory and run `make run` in the terminal. On a nix system it is possible to run with all dependencies via `make nix`. The listening address is `https://localhost:18765`.
|
||||
To run the application go to the root directory and run `make run` in the terminal. On a nix system it is possible to run with all dependencies via `make nix-run`. The default listening address is `http://localhost:18765`.
|
||||
|
||||
For a development environment install [air](https://github.com/air-verse/air) and run the development server with `air` from the root directory.
|
||||
|
||||
Reference in New Issue
Block a user