Courses / HEC NSCT – National Skill Competency Test: Complete Preparation for Computing Graduates

6.4 Frameworks, Back-End and REST APIs

Area 6 – Web Development (10%) · 45 min read · 12 MCQs to check yourself

Front-end frameworks

Tool Key idea
React (library) Components, JSX, virtual DOM, state and props, hooks (useState, useEffect)
Angular Full framework by Google, TypeScript, two-way data binding, dependency injection
Vue Progressive framework, reactive data, single-file components
Next.js / Nuxt Server-side rendering (SSR) and static generation for React/Vue
SPA (single-page application) loads once and updates parts of the page; good UX but needs care for SEO (use SSR).
TypeScript adds static types to JavaScript.

Back-end

Node.js + Express, Django/Flask (Python), Laravel (PHP), Spring Boot (Java), ASP.NET (C#). The back end handles business logic, authentication, and database access (often through an ORM).

REST APIs

REST = Representational State Transfer – resources identified by URLs and manipulated with HTTP methods; stateless; usually JSON.

Action Method + endpoint
List students GET /api/students
Get one GET /api/students/42
Create POST /api/students
Update PUT or PATCH /api/students/42
Delete DELETE /api/students/42
Also: GraphQL (client asks for exactly the fields it needs), WebSockets (real-time two-way communication, e.g. chat), API keys / OAuth 2.0 for access, rate limiting, versioning (/api/v1/). CORS controls which other origins may call your API from a browser.

What is a REST API? (ByteByteGo)

This lesson ends with a quiz of 12 MCQs. Open the lesson on PrepOasis to take it and save your progress.

Previous: 6.3 JavaScript and the DOM · Next: 6.5 Web Security, Performance and Deployment

All lessons in HEC NSCT – National Skill Competency Test: Complete Preparation for Computing Graduates