Teaching Newbies since 2014

kauress

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Contact
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Archives for Javascript ❤ / Node.js

April 9, 2020 by: Kauress

SailorMoon Pose Signup/Login #machinelearning

Took me a day to finish the above + read on posenet and have it running on a local server. My webcam on my laptop isn’t all that great but should suffice for the time being. Below are steps for the project so far: Use getUserMedia method of the web media API to detect a webcam and get permission from the user to stream video

[ Read More ]

August 29, 2019 by: Kauress

Plug-n-Play authentication is officially out now!

The project is live here and up for sale here Instructions for setting up are included in the project folder and here https://twitter.com/kauresss/status/1167195585381687296

[ Read More ]

August 12, 2019 by: Kauress

Conditionally rendering EJS template with res.locals in express.js

This snippet is to conditionally render navbar items based on whether a user is logged in OR not.  So toggle the ‘Login’ button to ‘Logout’ if the user is already logged in and vice versa. I admit it took more time that I had anticipated. Primarily because in the beginning I insisted on using a global variable in express to manage the user’s ‘isAuthenticated’  state

[ Read More ]

June 17, 2019 by: Kauress

New project: Authentication from scratch

New project in progress… Vanilla JS project with: 3 Login strategies 2 password reset strategies Security precautions

[ Read More ]

May 19, 2019 by: Kauress

Line by Line: Node.js Server

[ Read More ]

August 26, 2014 by: Kauress

Assembling request handlers for the router in your node.js server

It’s been a long time since I did one of these, I’ve just been too busy with tinkering with JS which is turning out to be my favorite language. This is again from the nodebeginner book by Manuel Kiessling. Anyways after assembling your router,it must route specific requests to their appropriate destinations. In this case the requests such as start and upload  are routed to

[ Read More ]

Copyright © 2021 ·Kauress