Skip to content

Instantly share code, notes, and snippets.

View SultanaK's full-sized avatar
💭
Full stack Developer with a focus on Frontend, Backend and Database.

KHANDAKER SULTANA SultanaK

💭
Full stack Developer with a focus on Frontend, Backend and Database.
View GitHub Profile
function adjacentElementsProduct(inputArray) {
var numbers = -100
for (var i = 0; i < inputArray.length; i++) {
if (inputArray[i] * inputArray[i + 1] >= numbers) {
numbers = inputArray[i] * inputArray[i + 1]
}
}
return numbers
}
1. Describe the HTTP requests/response lifecycle.
Amazing site on describing the entire process in visual detail.
https://dev.to/dangolant/things-i-brushed-up-on-this-week-the-http-request-lifecycle-
Amazing video describing the process with cool visual effects
https://www.youtube.com/watch?v=eesqK59rhGA
Slides courtesy of Chris Klanac and Thinkful
http://thinkful.slides.com/thinkful/node-express#/4
==================================CONVERSATIONAL===========================================
When a user/client types a URL into their favorite browser, the BROWSER understands this as
a request using the GET method to a server and first gets the protocol (http protocol in most instances),
-- Get all restaurants
SELECT * FROM restaurants;
-- Get Italian restaurants
SELECT * FROM restaurants
WHERE cuisine = 'Italian';
-- 10 Italian, subset
SELECT id, name FROM restaurants
WHERE cuisine = 'Italian'
@SultanaK
SultanaK / MoreQuestions.txt
Created October 14, 2020 22:50 — forked from rtanubra/MoreQuestions.txt
Node Practice Interview
https://courses.thinkful.com/mi-fundamentals-v1/checkpoint/1
--Referring to the fundemental section
RESTful APIs
Representational State Transfer. Software architecture style
Set of constraints that governs a specific set of web APIs
The information and decisions you would write in a good api documentation.
Main concerns of Rest:

Capstone Pro Tips

Propose Your Idea

Every good app starts with an idea. Here are a few things that should be included in you proposal

  • Project Description
  • What problem does your project solve?
  • Who has this problem?
  • How will your project solve this problem?
@SultanaK
SultanaK / gitcom.md
Created August 21, 2020 01:33 — forked from jednano/gitcom.md
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

git init
@SultanaK
SultanaK / Command-line-postgres-express-notes.md
Created July 10, 2020 03:14 — forked from Auraelius/Command-line-postgres-express-notes.md
Notes on learning and using command line interfaces when developing express/prostgres back end software.

Compare GUI vs CLI

  • CLI - good for
    • low bandwidth environments (talking to cloud servers)
    • very fast interactions for users that already know which command to use
    • can use scripts and the alias command to create powerful custom commands
  • GUI - good for
    • exploring functionality & learning
    • Seeing structure and organization - how things relate to each other

How do I learn a CLI? (Unix/Linux/Mac)

@SultanaK
SultanaK / testing express notes.md
Created July 1, 2020 01:42 — forked from Auraelius/testing express notes.md
Extra notes from thinkful's Integration Testing workshop

Topics

  • Testing overview (slides)
  • Intro to Mocha, chai, and supertest (slides)
  • Debugging tests (extra)
  • Tonight's assignment (slides)

Misc details

Testing concepts

  • Four phases of a test
@SultanaK
SultanaK / testing express notes.md
Created July 1, 2020 01:42 — forked from Auraelius/testing express notes.md
Extra notes from thinkful's Integration Testing workshop

Topics

  • Testing overview (slides)
  • Intro to Mocha, chai, and supertest (slides)
  • Debugging tests (extra)
  • Tonight's assignment (slides)

Misc details

Testing concepts

  • Four phases of a test