Core Concepts & Setup Flashcards

Main Core Concepts about Backend (12 cards)

1
Q

What is Node.js?

A

Node.js is a runtime environment that allows you to execute JavaScript code on the server side.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Express.js?

A

A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is MongoDB?

A

A document-oriented NoSQL database used for high volume data storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Mongoose?

A

A MongoDB object modeling tool designed to work in an asynchronous environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Bun?

A

Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the key features of Node.js?

A

Event-Driven Architecture: Utilizes an event loop for asynchronous operations.

Non-Blocking I/O: Efficient handling of multiple operations without blocking the main thread.

npm (Node Package Manager): A vast ecosystem of packages to extend functionality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the key features of Express.js?

A

Routing: Define URL paths and HTTP methods.

Middleware Support: Functions that execute during the request-response cycle.

Template Engines: Integrate with various templating engines for dynamic content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the key features of MongoDB?

A

Flexible Schema: Store data in JSON-like documents.

Scalability: Designed to handle large amounts of data.

Aggregation Framework: Perform complex data analysis operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the key features of Mongoose?

A

Schema Definitions: Define the structure of your documents.

Model-Based: Interact with your data through models.

Middleware: Pre and post hooks for operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the key features of Bun?

A

Performance: Built from scratch using the Zig programming language for optimal speed.

Compatibility: Aims for 100% Node.js compatibility.

Integrated Tools: Includes a bundler, test runner, and package manager.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When to choose SQL?

A

Choose SQL when your application requires structured data, complex queries, and strong transactional support.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When to choose NoSQL?

A

Opt for NoSQL if you need flexibility in data models, horizontal scalability, and are dealing with large volumes of unstructured or semi-structured data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly