The project BBank is a full-stack app. The name derived by Bad Bank because the 1st version did not have securiry measures. Currently the application is evolving with different levels of authentication and authorization.
- MongoDB (Database) WIP
- ExpressJS (JS Framework - Middleware) WIP
- React (JS Framework - Front-end)
- Node (JS Back-end & Dependencies)
In current version of the project you have the following features:
- Create new users
- Login using existing users
- Deposit money into existing users accounts
- Withdraw money from the existing users accounts
- And view all the data of all the users created and transacted in the BadBank
- Extend the login functionality to other Auth providers like Google, Facebook, GitHub, etc... and also be able to create initial user profiles using the information retrieved from the Auth providers
- Make this is completely serverless and host it in either GCP
BB Bank is hosted by heroku. You can navigate to the url below to see the most recent published version. To download and make edits to the code, see Prerequisites and Installation.
View Bad Bank: https://bbank-mern-full-stack.herokuapp.com/
- npm
npm install npm@latest -g
To edit and run locally on your machine
- Clone the repo
git clone https://github.com/crox23/BBank-MERN-full-stack.git
- Install NPM packages
npm install
- Run the Node server
node index.js
- Navigate to http://localhost:3010/ to run the application
Create Account - allows you to create a new users for the bank (you can see the users you've created in the AllData tab)
Login - allows you to login to your bank account
Deposit - allows you to deposit money into your account
Withdraw - allows you to withdraw money from your account
Balance - displays account balance
AllData - for the admin users of the bank - will show all data of all the users of the application