MSWD-Fintech-Site2.0

Project Documentation: Financial Management Website

1. Introduction

This web application is built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The platform focuses on:


2. Features Overview

2.1 Financial Education

2.2 Expense Management

2.3 Loan Management


3. Tech Stack

3.1 Frontend

3.2 Backend

3.3 Database

3.4 Additional Tools


4. Directory Structure

project/
│
├── client/                # React Frontend
│   ├── public/            # Static files
│   ├── src/
│       ├── components/    # Reusable components
│       ├── pages/         # Pages (Home, Articles, Expenses, Loans)
│       ├── styles/        # CSS/SCSS
│       ├── utils/         # Helper functions
│       ├── App.js         # Main app entry point
│
├── server/                # Node.js Backend
│   ├── models/            # MongoDB Models
│   ├── routes/            # API Routes
│   ├── controllers/       # Business Logic
│   ├── middlewares/       # Middleware (e.g., auth)
│   ├── server.js          # Main server entry point
│
├── mock-data/             # JSON files for mock loan data
│   ├── loans.json
│
├── package.json           # Dependencies and scripts
├── README.md              # Documentation

5. Features and Functionalities

5.1 Financial Education

5.2 Expense Management

5.3 Loan Management


6. Home Page Design

6.1 UI Layout

6.2 Clean UI Principles


7. Installation and Setup

7.1 Prerequisites

7.2 Steps

  1. Clone the repository:
    git clone <repository-url>
    
  2. Navigate to the project folder:
    cd project
    
  3. Install dependencies:
    npm install
    cd client && npm install
    
  4. Configure environment variables:
    • Backend: Create a .env file with:
      PORT=5000
      MONGO_URI=<your-mongodb-uri>
      JWT_SECRET=<your-jwt-secret>
      
    • Frontend: Add API base URL to .env.
  5. Start the application:
    • Backend:
      npm run server
      
    • Frontend:
      npm start
      

8. Future Enhancements