Skip to content

Conversation

@diegoberselli
Copy link

DynaPredict - Asset Condition Monitoring Platform

Complete React + TypeScript application for industrial asset monitoring with machine and sensor management.

🚀 Implemented Features

✅ Authentication

  • Fixed email/password login ([email protected] / admin123)
  • Protected routes with authentication guards
  • Logout functionality

✅ Machine Management

  • Create machines with name and type [Pump, Fan]
  • Edit machine attributes (name and type)
  • Delete machines with cascade removal of monitoring points
  • Real-time loading states and error handling

✅ Monitoring Points & Sensors Management

  • Create monitoring points for existing machines
  • Associate sensors with monitoring points (TcAg, TcAs, HF+)
  • Business Rule: TcAg and TcAs sensors not allowed on Pump machines
  • Paginated list (5 items per page)
  • Sortable columns: Machine Name, Type, Monitoring Point, Sensor Model

✅ Technical Requirements

  • TypeScript - Full type safety
  • React 19 - Latest React features
  • Redux Toolkit - State management with async thunks
  • Vite - Fast build tool
  • Material UI 5 - Modern component library
  • Vitest - Unit testing framework

🧪 Testing

  • Redux slice unit tests
  • Business rule validation tests
  • Run with: npm test

🎯 Key Assumptions

  1. Authentication: Fixed credentials for demo purposes
  2. Data Persistence: In-memory state with fake API simulation
  3. Architecture: Sensors integrated with monitoring points (no separate entity)
  4. UX: Client-side sorting and pagination for performance

🚦 How to Run

npm install
npm run dev
npm test        # Run unit tests
npm run build   # Production build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant