Hey Felipe! So you managed to get some pretty good stuff done. I know Javascript's async nature is very odd. You may have noticed from our talk that I'm not the tip top expert when it comes to the little things in JS, but you can always run something by me and we can Google stuff together if we both don't know how to do something.
This week I'd like you to create a web page where you input a summoner name and in the backend does some "stuff" and then renders a new page with new information you got from the backend. So let me be specific.
[x] I'd like you to really understand how "routing" works in express.js. This is a core concept when it comes to web dev, so if you don't get this hmu.
[x] Create an HTML webpage (frontend) that allows you to submit a summoner name, and once you click submit it would hit a function on your express files (backend).
[x] Once I click submit, I want you call Riot API from your backend and retrieve my RANK and LP. Once you get this, render a new HTML webpage that displays the rank and lp to the user on the frontend.
So the above shouldn't take super long! But I really want you to understand how routing is working, how the frontend/backend communicate, and really understanding why we have a backend to begin with. Why don't we just do everything on the frontend?
After this, I'd like you to start looking into NoSQL Databases, specifically Firebase. For your app, you need to store the users data somewhere, right? Use your super Google powers to figure out more about what firebase is all about. Its ez pz, trust me.
[ ] On a separate node file (separate from all your express stuff) create a firebase_playground.js file where you connect to firebase, send data, receive data, and become familiar with it.
I'm pretty good at NoSQL stuff, so HMU if you have any questions :)
Hey Felipe! So you managed to get some pretty good stuff done. I know Javascript's async nature is very odd. You may have noticed from our talk that I'm not the tip top expert when it comes to the little things in JS, but you can always run something by me and we can Google stuff together if we both don't know how to do something.
This week I'd like you to create a web page where you input a summoner name and in the backend does some "stuff" and then renders a new page with new information you got from the backend. So let me be specific.
So the above shouldn't take super long! But I really want you to understand how routing is working, how the frontend/backend communicate, and really understanding why we have a backend to begin with. Why don't we just do everything on the frontend?
After this, I'd like you to start looking into NoSQL Databases, specifically Firebase. For your app, you need to store the users data somewhere, right? Use your super Google powers to figure out more about what firebase is all about. Its ez pz, trust me.
I'm pretty good at NoSQL stuff, so HMU if you have any questions :)