siggame / colisee-lib Goto Github PK
View Code? Open in Web Editor NEWA collection of JavaScript & TypeScript modules common between many colisee services.
Home Page: http://siggame.io/colisee-lib
A collection of JavaScript & TypeScript modules common between many colisee services.
Home Page: http://siggame.io/colisee-lib
Error handling middleware should:
The logging middleware should:
Update .travis.yml to use travis-ci support for auto deploying github pages. Also include .nojekyll
to force rendering of files with _
as a prefix.
We need to add three more columns to the teams table in the database. They shouldn't affect any other tables.
Please let me know if there is anything else you need to know
Survey common helper functions used in colisee services along with other common functionality used and add them to this library. Reduces number of places that need to be touched when an api changes and reduces the chances for helpers and other ad hoc functionality from being implemented incorrectly between services.
The website is going to need some new tables and shift around the team table a bit to support new features that we want to have before MegaMiner. These changes should integrate a user + team system, instead of the teams just being synonymous with users, as well as adding a submissions metadata table that may have more added on later
From looking at previous commits I think I should hopefully be able to tackle this myself and put up a PR, but I still would appreciate some input on it, especially some of the data types
Worth noting, I don't think these changes should/could be pushed to chess.siggame.io. We could argue that the submissions_metadata could be put there (and maybe it should?) but I have a feeling that it will cause some unforeseen problems trying to set up the new table on the already existing database.
Current Teams Table | New Teams Table | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Field | type |
---|---|
id | int4 |
name | varchar |
contact_email | varchar |
contact_name | varchar |
hash_iterations | int4 |
password | varchar |
salt | varchar |
role | text |
form_response | JSON |
active | bool: default false |
bio | varchar |
profile_pic | bytea (?) |
created_at | timestamp |
updated_at | timestamp |
Field | type |
---|---|
id | int4 |
team_id | int4 |
user_id | int4 |
created_at | timestamp |
updated_at | timestamp |
Field | type |
---|---|
id | int4 |
team_id | int4 |
user_id | int4 |
is_completed | bool |
created_at | timestamp |
updated_at | timestamp |
Field | type |
---|---|
id | int4 |
submission_id | int4 |
label | varchar |
label_color | varchar |
created_at | timestamp |
updated_at | timestamp |
A nice feature for when doing something like
const game: db.Game;
`${game}`
since it gets called implicitly.
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.