lucasmontano / twitch Goto Github PK
View Code? Open in Web Editor NEW[EBS] Channel's Top Visitors
Home Page: https://www.twitch.tv/lucas_montano
[EBS] Channel's Top Visitors
Home Page: https://www.twitch.tv/lucas_montano
To avoid the necessity of have mongod locally installed or use its cloud services i pretend to use an implementation of MongoDB for memory storage.
Right now we are using the raw implementation of mongo repository. So it should be better to create a interface for Participant and it's repository.
const participantsCollection = client.getCollection<Participant>(
'participants',
);
...
const isCreated = await participantsCollection.findOne({
name: viewer,
});
I'm not sure if it's worth.
As we could see on livestream, I suggest changing the APP_PORT to PORT only.
Application Options:
APP_PORT: Set the port of the application
It's just to separate the classes and/or methods into folders by its responsibility with its types/interfaces and add Jest for tests
Hi guys, the PR #25 introduce one interessant feature to the project, but it doesn't merged because others problems, so I think to extract the feature and merge for the actual structure will be so cool.
https://montano-twitch-extension.herokuapp.com/
Should return a single JSON with viewers sorted by points, as follow:
[{"name":"xroidz","points":2},{"name":"william_bindewald","points":2},{"name":"universe","points":2},{"name":"streamlabs","points":2},{"name":"pugdev","points":2},{"name":"pfbaltar","points":2},{"name":"nightbot","points":2},{"name":"miguelsousa165","points":2},{"name":"lipebrisingr","points":2},{"name":"jonatasfalkaniere","points":2}]
๐ Server ready at undefined
The substitution would be useful because eslint is only prepared for cases in javascript vanilla while tslint is not only ready to deal with it but also handles typing better.
Ex: Interfaces, abstraction, autocomplete ...
I think, if someone leaves the chat open, not closing it after stream is end the points continue going up. I don't know if that was the intention.
Currently, the project don't have any standard for commits, so it will be great to the project structure
The service is deployed, but after this an error appears
Server ready of undefined
So it crashes.
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.