Skip to content
jaytintranPublic

About

Full-stack financial dashboard build using the MERN stack.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Financit - MERN Finance Dashboard with Machine Learning Predictions

Financit is a full-stack finance dashboard application built using the MERN (MongoDB, Express, React, Node.js) stack. It features machine learning-based financial predictions and a sleek Material UI design for intuitive user interactions. The application provides data visualization with Recharts, state management with Redux Toolkit, and is optimized for performance using Vite.


🚀 Features

  • Finance Dashboard: Track financial metrics, trends, and forecasts.
  • Machine Learning Predictions: Uses regression analysis to forecast financial trends.
  • Modern UI/UX: Built with Material UI for a professional and responsive design.
  • Data Visualization: Interactive charts and tables with Recharts & MUI Data Grid.
  • Drag & Drop File Uploads: Implemented using React Dropzone.
  • Fast & Scalable Backend: Powered by Node.js, Express.js, and MongoDB.
  • Optimized Performance: Vite for fast development & Redux Toolkit for efficient state management.
  • Deployment-Ready: Can be deployed on Fly.io (backend) & Vercel (frontend), with Docker support.

Folder Structure

  • client: Contains the frontend React application.

  • server: Contains the backend Express.js server.

  • shared: Shared utilities and components.

  • public: Static assets.

  • .env: Environment variables.

  • client/src/scenes: contains major pages, sections (or "views"), broader feature rather than just a UI component of the app.

  • client/src/components: contains UI components that can be reused across the application pages.

  • client/src/assets: contains static assets like images and icons.

  • client/src/state: contains reusable data/state accross the application.


🛠️ Tech Stack

Frontend:

  • Vite (Guide): a fast build tool for modern web development.
  • React Router (Docs): for dynamic SPA (Single Page Application) routing and navigation.
  • React Dropzone (Repo): for drag-and-drop file uploads HTML5 zone.
  • Redux (Docs): a predictable state container, a library for managing global application state.
  • Redux Toolkit (Docs): a set of tools for efficient Redux development.
  • Redux Toolkit Query (Docs): a powerful data fetching and caching tool for Redux.
  • Material UI (MUI) (Docs): a popular React UI framework that follows Google's Material Design guidelines.
  • Emotion (Docs): a CSS-in-JS library for styling React components.
  • Material UI Icons (Docs): a library of pre-built icons for Material UI.
  • MUI Data Grid (Docs): a powerful data grid component for React.
  • Recharts (Data Visualization) (Docs): a composable charting library built on D3.js.
  • CSS Grid & Flexbox (Grid Cheatsheet / Flexbox Guide): for layout and styling.

Backend:

  • Node.js (Download)
  • Express.js
  • MongoDB
  • Regression (Machine Learning) (Repo)
  • Nodemon (Dev Utility) (Repo)
  • Fly.io for Node.js Deployment (Docs)

Development Tools:


🔧 Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/yourusername/financit.git
cd financit

2️⃣ Install Dependencies

Frontend:

cd client
npm install

Backend:

cd server
npm install

3️⃣ Run the Application

Start Backend (Express Server):

cd server
npm run dev

Start Frontend (Vite React App):

cd client
npm run dev

🚀 Deployment

Deploy Backend to Fly.io

  1. Install Fly CLI: npm install -g flyctl
  2. Authenticate: flyctl auth login
  3. Deploy:
cd server
flyctl launch

Deploy Frontend to Vercel

  1. Install Vercel CLI: npm install -g vercel
  2. Authenticate: vercel login
  3. Deploy:
cd client
vercel --prod

📜 License

MIT License


🤝 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.


📞 Contact

For inquiries, feel free to reach out at [your email].

About

Full-stack financial dashboard build using the MERN stack.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages