
Learn to build a bank application with node.js, typescript, and mongodb, implementing user authentication with hashed passwords, date of birth, endpoints for deposits, withdrawals, p2p transfers on cards and transactions.
Begin a node.js and typescript based bank application by creating a project folder, configuring typescript, adding eslint and type definitions, and wiring express with tests and automatic code formatting.
Design a MongoDB user model for a Node.js TypeScript bank app, define create and user interfaces with email and password, and build the schema with model methods.
Build an express middleware to fetch and verify the current user from the session, returning the current user or passing control with next() when no session exists.
Implement a require auth middleware to protect cards and transactions by leveraging a current user from the middleware, ensuring secure access in the bank application.
Execute p2p transfers by creating a new user and card, depositing funds to establish a balance, and processing a peer-to-peer payment with visible transactions.
Scalable, production-ready code? Its here!
How This Course Works
This will expose you to challenging problems and clever solutions when handling subjects like bank features application.
What Technology You'll Use
We are building a backend application, we'll use Nde.js and TypeScript . Data for each service is held in either a Mongo database.
This is a scary list of technologies! Not familiar with some of these? No problem! The course is built assuming that you only know the basics of Nodejs. No other knowledge is needed - you will learn everything you need to know.
What You'll Be Able to Do
By the time you complete this course, you will be able to:
Architect basic bank operations
Determine whether your app is a good fit for deposit, withdraw and p2p transcations
Organize and enhance the reusability of code in large projects
What You'll Learn
An absolute incredible number of topics are covered in this course. Here is a partial list of what you'll do:
Create a authorisation flow with jwt token
Create a new users with signup, signin, signout and get current user endpoints
Create cards and get cards for user
Create transactions like deposit, withdraw and p2p
And much more!