Loading video player...
In this video, you’ll see how a real-world banking backend system is designed and built using Node.js and Express. The project covers authentication, account management, transactions, ledger handling, and backend architecture. You’ll understand how bank transactions flow end to end, how credit and debit operations are processed, and how ledgers ensure data consistency in a production-style backend system. Instructor: Ankur Prajapati ⏱️ Timestamps 00:00:00 – Introduction 00:00:49 – Basic server & folder structure setup 00:08:34 – Database setup (MongoDB Atlas) 00:11:14 – MongoDB Compass overview 00:12:40 – Connecting database with server 00:12:59 – Environment variables using dotenv 00:13:43 – Database configuration setup 00:17:41 – Schema design 00:19:41 – Email validation using regex 00:25:11 – Password hashing using bcrypt 00:28:52 – Creating method to compare password 00:31:35 – Authentication routes (Register & Login) 00:34:05 – Controllers implementation 00:40:52 – JSON Web Token (JWT) 00:43:11 – Cookie parser setup 00:46:34 – Testing APIs using Postman 00:50:50 – Login API implementation 01:00:04 – Nodemailer setup 01:19:10 – Function to send emails 01:20:23 – Sending registration email 01:25:03 – Creating Account model 01:31:24 – Account routes / APIs 01:32:50 – Account controller 01:34:03 – Auth middleware 01:45:57 – Understanding how banking systems work 01:56:30 – Creating Transaction model 02:02:04 – Creating Ledger model 02:09:02 – Transaction controller 02:14:34 – Validating idempotency 02:16:33 – Idempotency validation controller 02:20:44 – Checking account status controller 02:22:26 – Deriving sender balance from ledger (Aggregation Pipeline) 02:32:53 – Creating transaction (Pending state) 02:39:41 – Sending email notifications 02:46:44 – Creating transaction API 03:20:17 – Fetching balance API 03:45:37 – Creating Blacklist model 03:48:19 – Logout API 03:57:18 – How to deploy this project 04:03:52 – Outro 📁 Source Code: https://github.com/ankurdotio/backend-ledger 🌐 Visit Our Website: https://sheryians.com/ 🌐 Explore Our Courses: https://sheryians.com/courses 📲 Follow Us On 📷 Instagram: / sheryians_coding_school 📘 Facebook: / sheryians.community 💌 Telegram: https://t.me/sheryiansCommunity 💼 LinkedIn: / the-sheryians-coding-school 🎮 Discord: / discord Peace out ✌ backend, backend development, node js backend, express js backend, rest api backend, mongodb backend, authentication system backend, jwt authentication backend, banking system backend, bank transaction system, credit debit transaction logic, ledger based banking system, industry level backend project, real world backend project, sheryians,