0% found this document useful (0 votes)
7 views1 page

Bank App

Uploaded by

samtradethis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Bank App

Uploaded by

samtradethis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

npm init

npm i express mongodb

Bank Application :-

Database :- BankApp

Collections :- Customer, Accounts, Transactions

Customer :- id, name, age, email, con


tact, createdAt, pin
Accounts :- id, cid, accountId, accountType, balance, createdAt
Transactions :- id, accountId, transactionDate, transactionType, transactionAmount

1) Login / Signup :- Create customer, edit name, age, contact, email, change pin.
2) Transaction :- Debit, Credit
3) Transaction History :- As per the days and last transaction counts, type of
transactions.

Folder Structure :-

API Docs :-

Base URL :- localhost:3000

1) /add :- to add the customer. The api internally create an account and insert
one transaction as credit in transaction collection.

Here we need to populate accountId, balance, createdAt, transactionDate,


transactionAmount, transactionType

You might also like