Skip to content

ddboy19912/soar-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soar Dashboard

A modern financial dashboard application built with React and JSON Server.

Overview

Soar Dashboard is a comprehensive financial management platform featuring transaction tracking, card management, and detailed financial analytics. The application is built with modern web technologies and follows responsive design principles.

Features

  • 📊 Interactive financial dashboard with real-time updates
  • 📈 Detailed transaction tracking and analysis
  • 📱 Fully responsive design for all devices
  • 💌 Forms built with react-hook-form and validation with zod

Technology Stack

Frontend

  • React with TypeScript
  • Tailwind CSS for styling
  • Tanstack Query for data fetching
  • Shadcn UI for component library
  • Vite as build tool
  • Zustand for state management

Backend

  • JSON Server for API mocking
  • Express.js
  • TypeScript
  • Node.js

Project Structure

soar-dashboard/
├── ui/               # React application
│   ├── src/          # Source files
│   └── README.md     # Frontend documentation
├── backend/          # JSON Server API
│   ├── api/          # API routes
│   └── README.md     # Backend documentation
├── README.md         # Root README

Getting Started

Prerequisites

  • Node.js 18 or higher
  • npm 9 or higher

Installation

  1. Clone the repository:

    git clone https://github.com/ddboy19912/soar-dashboard.git
    cd soar-dashboard
  2. Install dependencies:

    # Root dependencies
    npm install
    
    # Frontend dependencies
    cd ui
    npm install
    
    # Backend dependencies
    cd ../backend
    npm install

Running the Application

  • Run both frontend and backend:

    npm run dev
  • Run frontend only:

    npm run dev:ui
  • Run backend only:

    npm run dev:backend

Environment Configuration

Frontend (.env.development, .env.production)

# Development
VITE_API_URL=http://localhost:3001

# Production
VITE_API_URL=https://soar-dashboard-backend.vercel.app

Backend (.env)

PORT=3001
NODE_ENV=development

Deployment

Frontend

Backend

Contributing

  1. Fork the repository
  2. Create your feature branch:
    git checkout -b feature/amazing-feature
  3. Commit your changes:
    git commit -m 'Add some amazing feature'
  4. Push to the branch:
    git push origin feature/amazing-feature
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments