FullStack - Level Zero
FullStack - Level Zero
[Link]
Built-in Modules ( http, fs, path, os, util, etc.) 2 40VacsUNo1pvlpPF0BCyPo-G&index=25&ab_channel=ARCTutorials
[Link]
Modules NPM: [Link], installing, managing, and publishing packages 2 rasad
[Link]
Types of Errors (Syntax, Runtime, Logical) 2 pCGS2c&ab_channel=NikitaDev
[Link]
Debugging tools: [Link] debugger, Chrome DevTools 2 Seelan
[Link]
Centralized error handling strategies 2 vLog
Error Handling
Error Handling try...catch, throwing custom errors 2 2 [Link]
[Link]
Understanding the need for asynchronous patterns 2 elopers
[Link]
Event Emitters 2 mmingwithMosh
Promises and its types (then, catch, finally, chaining) 2
async / await 2 [Link]
Async Programming callbacks 2 Malvia
Task Use callbacks,promises, async/await syntax for handling asynchronous operations. 1
[Link]() 2 [Link]
[Link]
path module for platform-independent path manipulation 2 lution
fs module: Reading and writing files (synchronous and asynchronous methods) & File/Directory [Link]
manipulation (mkdir, readFile, writeFile, etc.) 2 Thiyagarajan
[Link]
Working with files Streams for efficient handling of large files 1 2 Cody
[Link]
http module for creating basic servers 2 der
[Link]
Request and response objects (properties and methods) 2 nja
[Link]
HTTP Server Basic routing and content-type handling 1 2 g&ab_channel=Academind
Introduction to [Link] 2
Setting up express app 2
Routing and Middlewares 2
ExpressJs Handling Logs and Errors using middlewares 2 [Link]
1. Create server using Express
2. Initialize a new [Link] project and Install necessary packages like express, sequelize, etc.
Tasks 3. Create the following APIs method : GET,POST,PUT,DELETE,PATCH 2
Identify data elements in the API requiring validation.
Define validation rules (e.g., required fields, formats). [Link]
Data validation Consider input constraints (e.g., length, character set).A102 1 2 hYousaf
Good understanding of database ( MssqL,CosmosDB etc) 2
SQL vs. NoSQL: Considerations for your project 2 [Link]
Connecting database from NodeJs 2 Codedamn
ORMs like Sequelize, Mongoose 2
Performing CRUD operations 2
Drivers vs. ORMs: Pros and Cons 2 [Link]
Database Handling relationships (one-to-one, one-to-many, many-to-many) 2 ech
Implement Sequelize migrations for the database schema and update queries to use parameterized
Tasks queries to prevent SQL injection vulnerabilities. Ensure proper validation and sanitization of input data.
1. Download SSMS and access data for APIs from the database
NOTE : Only one connection to be made for handling multiple request.
2. Setup a MSSQL database using Sequelize ORM. Create a model with fields such as id, title, content,
etc.
Tasks [Link] caching logic to cache the response of APIs using Redis. 2
[Link]
Session vs. Token-based authentication (pros and cons) 2 p
[Link]
Implementing authentication with JWT or session management 2 roTech
[Link]
Authentication code flows 2 Software
What is Authentication, Difference b/w Authentication and Authirazation, Authentication fows and difference
between them. 2 [Link]
[Link]
Authentication / Authorization Role and permission-based authorization models 2 ay
1. Implement JWT-based authentication and Protect the APIs using the implemented authentication.
[Link] SSO login functionality using Azure AD including Oauth2.0 and SAML
[Link] role-based access control in your APIs. For example, you can allow only users with an
‘admin’ role to delete.
4. Configure the session to store user data securely and ensure session persistence across different
Tasks requests. 5
Logging NodeJS Application Insights, logging and telemetry best practices 1 2 NodeJS Application Insights, logging and telemetry best practices
Implement Application Insights in the [Link] application for centralized logging and telemetry. Ensure
Tasks best practices by setting up custom telemetry, dependency tracking, and error logging.
Test types: Unit, integration, functional, regression, sanity, load, etc. 2 [Link]
[Link]
Mocha or Jest (pick one): Structure, assertions, mocking(NodeJS) 2 atrixTechnology
[Link]
Testing tools - Postman, Jmeter 2 Khan
[Link]
Testing Test-Driven Development (TDD) concepts 2 Espejo
[Link] unit tests for a function that calculates the area of different shapes (square, rectangle, circle).
Verify that the function produces the expected results for various input values.
[Link] integration tests for an API endpoint that retrieves user data from a database and formats it for
the response. Mock the database interaction and verify that the endpoint returns the correct data
structure and formats it as expected.
[Link] functional tests for a user registration process. Simulate the user entering data, submitting the
form, and check that the user is successfully created in the database, receives a confirmation email
(mocked), and is redirected to the appropriate page.
[Link] regression tests for a login functionality. Verify that valid login credentials still work as expected
after changes to the authentication system or user model.
Task [Link] TDD tests for a function that validates an email address format. 3
Preventing XSS, SQL injection, CSRF attacks 2 [Link]
Input validation and sanitization 2 Scale
[Link]
Secure password storage (hashing, salting) 2 ech-Ward
[Link]
Security Helmet for common security headers 2 Ivanov
Update your authentication middleware to protect your note APIs. Only the logged-in users should be
Task able to access these APIs. 2
[Link]
API Documentation Document and manage API's in Postman, GitBook, Stoplight ,Apiary, Word Document 1 2 documentation-software-and-tools-for-2024/
[Link]
Understanding OpenAPI Specification 2 2 vanov
Documenting APIs with Swagger 2
Adding Descriptions and Examples 2
API Versioning 2
Authentication and Authorization 2
API Documentation using Swagger Async API Specification Arch 2
And JSDocs Advanced Data Types 2
Install JSDoc, create [Link], add script in [Link], verify installation. 2
Add JSDoc comments, include tags, use @typedef, and add module-level comments. 2
Choose a template, update [Link], set input/output directories. 2
Run JSDoc command, review output, fix missing or incorrect comments. 2
Add JSDoc to pipeline, automate deployment to hosting services. 2
1
Update comments, review quality, automate periodic generation and deployment. 1 2
Task Document your APIs using a tool like Swagger.
[Link]
Overview of DevOps Platform 2 azure-devops?view=azure-devops
[Link]
Source Code Management using Git repositories in Azure Repos 2 control?view=azure-devops
Creating build pipelines for [Link] applications, Configuring build agents and environments, Running
automated tests (unit tests, integration tests), Linting and code quality checks. 2
Creating release pipelines, Deploying to various environments (e.g.,development, staging, production),
CI/CD of NodeJs App Using Azure App Service for deployment, Rolling back deployments. 2 2 [Link]
Sync, Async, Parallel, and Concurrent Approaches
- Event Loop Overview 3
Introduction to [Link] Execution - Call Stack and Callback Queue 3
Model - Non-blocking I/O Concept 3
- Definition and Differences 3
- Blocking vs Non-blocking 3
Synchronous and Asynchronous - Synchronous Functions in [Link] 3
Programming - Asynchronous Functions in [Link] 3
- Callbacks 3
- Promises 3
- Async/Await 3
Async Programming Techniques - Error Handling in Async Code 3
- Timers Phase 3
- I/O Callbacks Phase 3
- Idle, Prepare Phase 3
- Poll Phase 3
- Check Phase 3
[Link] Event Loop Phases - Close Callbacks Phase 3
- Concept of Parallelism 3
- Using Worker Threads 3
- Child Processes 3
Parallel Processing in [Link] - Clustering for Scalability 3
- Understanding Concurrency 3
- Differences Between Concurrency and Parallelism 3
- Managing Concurrent Tasks in [Link] 3
Concurrent Processing in [Link] - Libraries for Concurrency (e.g., [Link]) 3
- Reading and Writing Files Synchronously 3
- Handling HTTP Requests Asynchronously 3
- Parallel Database Queries 3
Practical Examples - Concurrent API Calls 3
- Avoiding Callback Hell 3
- Proper Use of Promises and Async/Await 3
- Performance Optimization 3
Challenges and Best Practices - Debugging Asynchronous Code 3
- Streams and Pipelines 3
- Load Balancing in Clusters 3
- Managing Thread Pools 3
Advanced Topics - Asynchronous Iteration (e.g., for-await-of loops) 5 3
Task 1: Understand [Link] Study how the event loop works, including its phases and role in managing asynchronous operations in
Execution Model [Link].
Write code examples using callbacks, Promises, and Async/Await to handle asynchronous operations and
Task 2: Explore Async Techniques manage errors.
Task 3: Implement Parallel Use [Link] Worker Threads or Child Processes to perform parallel tasks like image processing or data
Processing computation.
Task 4: Handle Concurrent Implement concurrent API calls using libraries like [Link], and compare performance with sequential
Operations execution.
Task 5: Debug and Optimize Async Debug asynchronous code using tools like Chrome DevTools and optimize performance by avoiding
Code callback hell.
Create a task to implement a scenario demonstrating the invocation of three APIs in synchronous and
Task 6: Sync, Async, Parallel, and asynchronous ways, including parallel and concurrent execution approaches, with concise code limited to
Concurrent Approaches five lines for each implementation.