Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Backend Engineering β€” Concepts & Examples

A comprehensive reference guide documenting backend engineering concepts with working Express.js examples. Built as a personal learning repository.


Table of Contents

# Topic Description
1 Authentication JWT, Cookies, Sessions, OAuth
2 REST API RESTful design, status codes, versioning
3 WebSockets Real-time bidirectional communication
4 Caching In-memory & Redis caching strategies
5 Rate Limiting Protecting APIs from abuse
6 Password Hashing bcrypt, argon2, best practices
7 File Upload Multer, validation, storage
8 Pagination Offset, cursor, and keyset pagination
9 Error Handling Centralized error middleware

Tech Stack

  • Runtime: Node.js
  • Framework: Express.js
  • Auth: JWT, express-session, Passport.js
  • Hashing: bcryptjs
  • Uploads: Multer
  • Rate Limiting: express-rate-limit
  • WebSockets: ws / socket.io

Getting Started

git clone https://github.com/YOUR_USERNAME/backend-engineering.git
cd backend-engineering

# Install dependencies for any topic
cd authentication/jwt
npm install
node index.js

Each folder is self-contained with its own package.json and README.md.


πŸ“ Repository Structure

backend-engineering/
β”œβ”€β”€ authentication/
β”‚   β”œβ”€β”€ jwt/
β”‚   β”œβ”€β”€ cookies/
β”‚   β”œβ”€β”€ sessions/
β”‚   └── oauth/
β”œβ”€β”€ rest-api/
β”œβ”€β”€ websockets/
β”œβ”€β”€ caching/
β”œβ”€β”€ rate-limiting/
β”œβ”€β”€ password-hashing/
β”œβ”€β”€ file-upload/
β”œβ”€β”€ pagination/
└── error-handling/

⭐ Star this repo if you find it helpful!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages