TeamMoodGitHub / Felipe-Term-1

0 stars 0 forks source link

Week 1 - Core Idea, Initial Research, and Environment Set Up #1

Open farzaa opened 6 years ago

farzaa commented 6 years ago

Felipe's idea is to create a desktop app (in Electron) that will track stats for a user by calling the Riot Games API. Basically, the app will show the user's stats overtime. Things like LP, average CS, average KDA, etc.

So, the learning curve to get going with Electron is pretty steep if someones never done anything with node before.

The main goal for this week is to really understand how node/websites works. Specifically, HTTP requests, routers, pages, etc.

For this week Felipe should focus on getting this done -

felipe-linares commented 6 years ago

What is Node?

Node is a runtime environment that allows javascript to be used outside of a browser using Chrome's V8 engine. It includes libraries for I/O. Node is also asynchronous and non-blocking, allowing the most efficient use of a CPU, while javascript on its own is used with an event loop and can only have a single callback at a time.

felipe-linares commented 6 years ago

Node vs Javascript

Javascript is a language while node is a runtime for javascript that also includes libraries in order for it to function with I/O. Javascript can only have a single callback at a time and is used with an event loop while Node is non-blocking. Node allows server-side scripting while Javascript does not.

felipe-linares commented 6 years ago

Node vs Express

Express is a framework built to work FOR Node. The express framework is used for web-applications while node is used for server-side events. It is the most common node framework because it is so simple. It is really a barebones framework that allows the most use of 'raw' node.