Skip to content

Integrate JSON Server Mock API & Refactor Data Fetching - #25

Merged
neithium merged 2 commits into
mainfrom
feat/frontend
Nov 14, 2025
Merged

Integrate JSON Server Mock API & Refactor Data Fetching #25
neithium merged 2 commits into
mainfrom
feat/frontend

Conversation

@LikhithSP

Copy link
Copy Markdown
Collaborator

Summary

This PR introduces a full mock API using json-server and updates the frontend to consume all data from db.json rather than the previous mockData.js file.

Key Changes

  • Refactored all frontend pages Dashboard, Monitoring, SecurityAlerts, VNCSessions, and Firewall to fetch data from the new mock API endpoints.
  • Removed all legacy mockData.js imports and usage across the project.
  • Added JSON_SERVER_SETUP.md with instructions and details on how to run the mock API.

@LikhithSP
LikhithSP requested a review from neithium November 14, 2025 16:32
@netlify

netlify Bot commented Nov 14, 2025

Copy link
Copy Markdown

Deploy Preview for exfil-sentry ready!

Name Link
🔨 Latest commit 53d3029
🔍 Latest deploy log https://app.netlify.com/projects/exfil-sentry/deploys/69175992ddf60d00084a7ba4
😎 Deploy Preview https://deploy-preview-25--exfil-sentry.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@neithium
neithium merged commit 9f43624 into main Nov 14, 2025
5 checks passed
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.

2 participants