trupples / blr-live Goto Github PK
View Code? Open in Web Editor NEWPHP 8 slim backend & Astro frontend for the 2023 remake of the scoring app for BattleLab Robotica
Home Page: https://live.battlelab.ro
PHP 8 slim backend & Astro frontend for the 2023 remake of the scoring app for BattleLab Robotica
Home Page: https://live.battlelab.ro
Currently, team images have hardcoded URLs (see code below) and are manually uploaded to the server in the right location. That's clumsy and risky. Implement a backend solution for uploading PNG images for teams. To avoid caching issues encountered during the competition, any change of the image must result in a different image filename (using a hash, guid, timestamp, whatever)
blr-live/api/src/Models/Team.php
Line 119 in 1981633
The project currently uses astro only to render preact pages which are populated on the client-side with data from the API. Virtually no astro functionality is used, just its project structure. The sanest solution would be switching to vite x preact :)
Because I did it all in a hurry, it barely resembles the initial design document. Main pain points:
The losers of the semifinals also play in a consolation game ("finala mica") to decide who gets 3rd place. This is usually represented graphically as a match below the actual finals, disconnected from the tree. This will probably require restructuring the BracketSlots structure in the database, or maybe separating BracketSlots from a Bracket which would contain both the tree and a reference to an "orphan" consolation slot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.