[ DAY 148 ] Data visualization

Hola! After getting a little more comfortable with web development, I’m now stirring the water of data analytics. I picked up Python (and seriously, after two days I’m still so lost), and I’m using Dash Plotly to create dashboards application to visualize the datasets. What’s I’m most proud: I can finally use callback to add …

[ DAY 146 ] I finally did it! You can’t see my data if you’re not logged in

Check out my restaurant page repo here. It’s not fancy looking because I’m not there with my front-end yet, but it’ll get there, hopefully 🙂 I love the journey that took me here, to where I feel that I’m a little bit more clear of what I was doing and where I can stand without …

We need a guardian for a reason

I added a guard today to my Angular app, which looked like this. import { Injectable } from ‘@angular/core’; import { ActivatedRouteSnapshot, CanActivate, Router } from ‘@angular/router’; import { AuthService } from ‘../_services/auth.service’ @Injectable({ providedIn: ‘root’ }) export class LoginGuard implements CanActivate { constructor( private _authService: AuthService, private _router: Router ) { } canActivate(): boolean …

[ DAY 143 ] getting unStuck

Authentication: I’m still working on authenticating. I have made it through generating tokens and now I need to send requests with headers that contain cookie, where I store the JWT token generated. However! However, for some unknown reasons, the requests I wrote (to get a list of dishes from database, for example) don’t have cookie …

[ DAY 141 ] Where are my cookies? I’m hungry

“Once you had your JWT token saved to the browser’s cookie, your requests to the server will automatically include that cookie in the headers.” So I really believed the only thing I needed to do, which apparently sounds really challenging, was attaching my token to the cookie, and the browser would take care of the …

[ DAY 136 ] Do you think a lot like I do?

Do I think too much? About sending data between client-side and server-side and when to validate input or requests and responses? Do I think too much? About how my code can get more concise and more readable at the same time? I do, but I also understand that sometimes I just need to keep going, …

[ DAY 134 ] Well, I still don’t know who you are

Update on my trying to authenticate user identification on my project: nothing happened. I tried but kept running into dead-ends. But I learned something pretty cool. There’s this thing called cookie. If you have been around since the dawn of the Internet age, you probably have experienced the annoying feeling when a little pop-up stopped …

[ DAY 133 ] Who are you? Please log in

To-do: Finish sign up page, log in page with full functions such as checking inputs in both client-side and server-side, using passportjs to authenticate users, securing passwords with bcrypt. Remember to: finish water bottle of 1.5L, stand up every hour for 2 minutes, and not be too harsh on myself if my eyes or my …