Skip to content

Instantly share code, notes, and snippets.

View Kishimoto96's full-sized avatar

Kishi Kishimoto96

View GitHub Profile

Typescript discussion

Write your answers in the comment section below:

  1. What are the primitive types in TypeScript?
  2. Explain how the arrays work in TypeScript.
  3. What is any type, and should we use it?
  4. How does enums work and how are they usefull?
  5. What is optional chaining and how does it work?
  6. "Javascript is dynamically typed" what does that mean? and how does Typescript affect that?
@Kishimoto96
Kishimoto96 / jwtAndCookies.md
Created May 11, 2023 12:54 — forked from halitbatur/jwtAndCookies.md
cookies vs jwt for auth

Using session Cookie VS. JWT for Authentications

write your answers in the comments below:

  • Can you explain the steps that take place when a user signs in to a website?

  • Where are each of session/cookie and JWT data stored?

  • Which technology is stateful and which is stateless and what is the different between both?

@Kishimoto96
Kishimoto96 / app.md
Created May 2, 2023 16:12 — forked from halitbatur/app.md
Apps list for data modeling

List of Apps

  • Twitch
  • Instagram
  • Airbnb
  • Getir
  • Twitter
  • Any Banking app (Most of them have similar data models)
  • Netflix
  • Github
  • Splitwise
@Kishimoto96
Kishimoto96 / discussion.md
Created March 18, 2023 09:33 — forked from halitbatur/discussion.md
Object discussion questions

Object Discussion Questions

There is some coding in this discussion. Feel free to write them in a REPL or in the comments below.

  1. How is an object different from an array?
  2. How does const work with objects?
  3. Explain the difference between bracket syntax and dot syntax. Give an example of something that works with bracket syntax but not dot syntax. Give an example of something that works with dot syntax but not bracket syntax.
  4. What are computed properties? Write an example code.
  5. What is the difference between Object.keys and Object.entries? Write example code using both of them.
  6. How do we get only the values of an object?