Techinfo YT Lecture Notes: Building Blue Bank Application

Jul 28, 2024

Notes on Techinfo YT Lecture: Building Blue Bank Application

Overview

  • Introduction to building Blue Bank application.
  • Demo of application features and roles: Data Admin, Hospital, Organization.
  • Application includes a single form for login and registration.

Features Demonstrated

  1. User Roles and Functionality

    • Different functionalities based on roles (Data Admin, Hospital, Organization).
    • User can dynamically switch roles.
  2. Login & Registration Form

    • Single form toggles between login and registration.
    • Validation prompts if fields are empty on submission.
  3. Spinners and Notifications

    • Spinners for loading states.
    • Notifications for successful login or errors.
  4. Data Management

    • Displays records of blue blood transactions.
    • Section to manage donors and view their records.
    • Features to sort and filter records based on different criteria.

Application Structure

  • Backend: Node.js and Express for handling requests.
  • Database: MongoDB for data storage, especially for user and blood transaction records.
  • Frontend: React for building the UI.

Software Requirements

Installing Required Software

  1. Node.js
  2. MongoDB Compass
    • Used for managing MongoDB databases.
  3. Visual Studio Code
    • Code editor for writing React and Node.js code.

Step-by-Step Implementation

  1. Setting Up the Project

    • Create a directory structure for the frontend and backend.
    • Initialize Node package in the backend folder.
    • Set up Express server.
  2. Creating User Roles and Authentication

    • Implement login and registration functionalities.
    • Use Redux for state management.
    • Include user authentication using JWT for session management.
  3. Data Display

    • Create various components such as form, inventory, and user lists.
    • Fetch data from the MongoDB database and display using React components.
    • Incorporate filtering and sorting capabilities for ease of use.
  4. Deploying the Application

    • Build frontend for production.
    • Set up a server to serve static files.
    • Instructions to push the code to GitHub and deploy.

Conclusion

  • Successfully built a Blue Bank application with multiple functionalities and user roles.
  • The project includes features such as registration, login, viewing donor records, and managing transactions.
  • Anticipated further improvements such as deploying the application to a live server and enhancing user experience.