Skip to content

Instantly share code, notes, and snippets.

View halitbatur's full-sized avatar
🏠
Working from home

Halit Batur halitbatur

🏠
Working from home
View GitHub Profile
@halitbatur
halitbatur / auth.md
Last active May 29, 2022 10:47
Auth and Security Discussion questions

Auth and Security Discussion

Please go through the points below and answer questions in the comments and discuss them with your mates.

  • What are the benefits of registration and signing in on GitHub?
  • What is the difference between authentication and authorization?
  • How can we prevent a request from being fulfilled? Like trying to access a private GitHub repo of someone else?
  • After the user logs in using the backend end-point we create, how can we can keep that user logged in all the time without asking them to login again each time they visit the website or send a request that require authentication?
  • What is base64 encoding?
  • What are salt rounds? how does it work?
@halitbatur
halitbatur / apps.md
Created May 20, 2022 22:16
Apps to data diagram

List of Apps

  • Twitch
  • Instagram
  • Airbnb
  • Getir
  • Twitter
  • Any Banking app (Most of them have similar data models)
  • Netflix
  • Github
  • Splitwise
@halitbatur
halitbatur / MVC-DBSchema-CRUD.md
Created May 12, 2022 11:23
Discussion about MVC, DB Schema and CRUD

Discuss the points below with your teammates and add your answers below in the comments

  1. What is the best/most common file structure for backend NodeJS projects?
  2. What is the MVC architecture? Why we will be using it?
  3. Explore defining a schema in Mongoose, you can refer to this for more information (no answer in the comments required).
  4. What are the CRUD operations? add an example code of each CRUD operations in Mongoose.
@halitbatur
halitbatur / noSQLvsSQL.md
Created May 12, 2022 11:21
Discussion about SQL vs noSQL

Discuss the answers for these questions with you teammates and write your answers in the comments.

  1. What is the difference between SQL and NoSQL?
  2. What is referencing and what is embedding in MongoDB?
  3. Why should we embed more than referencing when we can in MongoDB?
  4. When should we prefer referencing over nesting in MongoDB?
  5. What are ORMs? Why we use them? Give an example of an SQL request with and without using ORM.
  6. What is the difference between a table and a collection?
@halitbatur
halitbatur / nodediscussion.md
Created May 7, 2022 07:17
Node JS discussion questions

Node JS discussions

These are some Node JS discussion questions to deepen your understanding of NodeJS

  1. Differentiate between JavaScript and Node.js.
  2. Why Node.js is single threaded?
  3. How do Node.js works?
  4. What is package.json?
  5. What is an Event loop in Node.js and how does it work?
@halitbatur
halitbatur / typescriptDiscussion.md
Last active January 4, 2022 17:14
Typescript Discussion questions

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?
@halitbatur
halitbatur / redisDiscussion.md
Last active December 7, 2021 15:51
Redis, Cron job and websockets discussion questions

Redis, Websockets and cron Discussion

Write your answers in the comment section below:

  • What is Redis? Mention one use case of Redis.
  • What type of database is Redis and where does it hold its data?
  • What is Websocket and what is it used for?
  • Explain 3 use cases for CRON jobs.
  • What are the 3 types of design patterns in Nodejs?
@halitbatur
halitbatur / app.md
Last active May 2, 2023 16:12
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
@halitbatur
halitbatur / sql.md
Last active November 5, 2021 19:17
SQL discussion questions

SQL discussions

  1. What is the difference between SQL and MySQL?
  2. What do you mean by DBMS? What are its different types?
  3. What are the types of joins in SQL? Give an example for each one.
  4. What is a Primary key?
  5. What are the different operators available in SQL?
  6. What is the need for group functions in SQL?
  7. What is a Relationship and what are they?
@halitbatur
halitbatur / nodejsdiscussion.md
Last active October 28, 2021 15:27
Node js discussion questions

Node JS discussions

These are some Node JS discussion questions to deepen your understanding of NodeJS

  1. Differentiate between JavaScript and Node.js.
  2. Why Node.js is single threaded?
  3. How do Node.js works?
  4. What is package.json?
  5. What is an Event loop in Node.js and how does it work?