Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

8 total results found

Sending Cookies

CSC105 - 2024: Backend Development Week... Cookies & JWT keys

What is Cookie? Cookies are small pieces of data stored on a user's device by websites they visit. They serve various purposes in web development. Example Cookies use cases. Session Management Personalization Tracking and Analytics Advert...

JWT: How to securely stores cookies.

CSC105 - 2024: Backend Development Week... Cookies & JWT keys

What is JWT? JWT stands for JSON Web Token. It's a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as...

Using Cookies

CSC105 - 2024: Backend Development Week... Cookies & JWT keys

How to use cookies Now as we can send cookies, I'll show you an example of how to get that cookies from user and use it. First let's create new file at /controllers/cookies name showCookies.js const ShowCookies = (req, res) => { const cookies = req.cook...

What is middleware?

CSC105 - 2024: Backend Development Week... Middlewares

What is middleware? middleware is a function that sits between the incoming request and the outgoing response in an application's request-response cycle. It intercepts and can modify the request and response objects, perform additional tasks, and pass control...

LAB: how to do auth in your app?

CSC105 - 2024: Backend Development Week... Authentication lab

Let's learn about authentication. Authentication is the one of the most common and widely use in almost all web applications. Authentication will be 2 methods mainly Register (Sign up) Login Let's start: Download this zip file and extract it in to ...

First Java program

Basic java application

Assuming that you already can run JAVA in your machine.Let's learn the java basic to begin your first java journey First of all Java will run the code in main function and main function will be in the class of your choices1. Create a new folder where you want...

Java Variables

Basic java application

Variables are the values that stores data in it and you can use it easily variables can be in lots of types the basics one are int -> this data type is for storing the integer valueslong -> Can store integer more than intfloat -> Can store decimal point num...

Java Inputs

Basic java application

You can already show the data to the users. Now let's receive it from user. In java reading the input is a bit complicatedWe have a Scanner class in java the Scanner class have methods to read different type of input. There are some of it that we use frequ...