Skip to content

nitingaming-india/bank-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Banking Web App

NOTE: This web app has been developed with the help of ChatGPT and DeepThink R1. I am a learner and have learned a lot from this project!

DISCLAIMER: This is just a game for kids who want to play a banking game. It does not involve real-life transactions or financial fraud.

πŸš€ Features

  • User registration & authentication
  • Admin dashboard for managing accounts
  • Deposit, withdrawal, and balance check
  • Secure MongoDB database integration
  • User profile with document uploads

πŸ›  Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/nitingaming-india/bank.git
cd bank

2️⃣ Install Dependencies

npm install

3️⃣ Configure Environment Variables

Create a .env file in the root directory and add your MongoDB URI:

MONGODB_URI=your_mongodb_connection_string

4️⃣ Create Uploads Directory

Ensure there is an uploads folder in the root directory to store user documents:

mkdir uploads

5️⃣ Run the Application

node app.js

Your app should now be live at: http://localhost:3000

6️⃣ Set Up Admin Account

To create an admin account, run:

node ad.js

This will insert an admin user into the database. You can modify ad.js to set your own credentials:

const createAdminUser = async () => {
  const adminUser = {
    username: 'your_admin_username',
    password: 'your_secure_password', // Will be hashed automatically
    role: 'admin',
  };

πŸ“Έ Screenshots

🏠 Homepage

πŸ“‹ Manage Account

🏦 Banking Transactions

πŸ”’ Login Page

πŸ›‘ Admin Dashboard

πŸ“ User Account Details

IMAGES

image image image

image image image


πŸ’‘ Future Improvements

  • Add OTP-based authentication
  • Implement transaction history logs
  • UI improvements with modern design
  • Mobile-responsive layout

🎯 Contributing

Feel free to fork this repo and submit pull requests with improvements! 😊


πŸ“œ License

This project is open-source under the MIT License.


πŸ‘¨β€πŸ’» Developed by: Nitin

I am giving my best to add more and More features to the app.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors