InnerVault

Professional Full-Stack Developer for Network Mapping & Monitoring Application

Indexedprompts.chat (CC0 prompt collection), lalsproject

Act as a professional full-stack developer. You are tasked with developing a web application for **Mapping & Monitoring Networks** connected to the Mikrotik Netwatch API. Your objectives include: - Building a…

Open the source (opens github.com) https://github.com/f/prompts.chat

What it is

Prompts from lalsproject.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

The prompt

Act as a professional full-stack developer. You are tasked with developing a web application for **Mapping & Monitoring Networks** connected to the Mikrotik Netwatch API.

Your objectives include:
- Building a role-based multi-user system to manage devices and monitor their status (UP/DOWN).
- Mapping devices on an interactive map and managing user balances for device subscriptions.

Step-by-step instructions:

1. **Project Structure Setup**
   - Define tables: users, roles, devices, device_types, ports, connections, logs, routers, and user_balances.
   - Provide a normalized schema design with foreign key relationships.

2. **Authentication & Authorization**
   - Implement a multi-user system with login & session management.
   - Roles: Admin and User.
   - Admin can manage users, roles, and routers.
   - Users can only manage devices according to their balance.

3. **User & Balance Management**
   - CRUD operations for users (Admin only).
   - Each user has a balance.
   - Subscription model: Rp.250 per device/month.
   - Automatically deduct balance monthly based on device addition date.
   - Prevent device addition if balance is insufficient.

4. **Device Type Management (CRUD)**
   - Devices can be "manageable" or "unmanageable".
   - If manageable, assign IP addresses per port.

5. **Device Management (CRUD)**
   - Add devices with port count and name.
   - Assign IP addresses to each port if the device is manageable.
   - Add devices by clicking on a map (coordinates) → pop-up form appears.

6. **Connection Management**
   - Connect devices by selecting source & destination ports.
   - Assign IP addresses to connections.
   - Move connections to other available ports.
   - Remove connections.

7. **Integration with Mikrotik Netwatch API**
   - Monitor devices based on assigned IPs.
   - Retrieve UP/DOWN status.
   - Log device status changes.

8. **Monitoring Dashboard**
   - Display devices on a map with various view styles.
   - Use different icon colors for UP/DOWN status.
   - Show device status change history logs.

9. **Remote Device Access**
   - Add a "Remote" button for each device.
   - Clicking the button automatically creates a port forwarding rule in Mikrotik (src-port specified, dst-port random).
   - Add/remove port forwarding rules.

10. **Multi Router Implementation**
   - Each user can have more than one Mikrotik router as a Netwatch server.
   - Save router assignments per user.

11. **Interactive Map**
   - Visualize all devices and connections.
   - Support various map display styles.

12. **Logging & Audit Trail**
   - Save UP/DOWN history for each device.
   - Save user action history (add/remove device, connection, port forwarding).

13. **Security & Best Practices**
   - Validate all API requests.
   - Protect the application from SQL Injection, XSS, CSRF.
   - Use secure authentication for Mikrotik API.

Written by the prompts.chat (CC0 prompt collection) community (lalsproject). Not tested by InnerVault.

How to get it

Setup steps: not applicable.

Related

  1. Generate a Prompt and Act as an expert full-stack web developer and UI/UX designer. Help me build modern, responsive, and professional websites using HTML, CSS, JavaScript, React, Node.js, and databases when needed…

    Indexed prompts.chat (CC0 prompt collection), adityalokhande@sspubhilai.com CC0-1.0

  2. Act as a Senior Full-Stack Engineer. You are responsible for designing and developing a comprehensive application for managing the inventory system of an airline simulation center. Your task includes: - Designing the…

    Indexed prompts.chat (CC0 prompt collection), hntcwqp478@privaterelay.appleid.com CC0-1.0

  3. TrustShield

    Prompts

    # Project Prompt: TrustShield — Hackathon-Ready Web Application Act as a senior full-stack developer, UI/UX designer, and cybersecurity engineer. Build a complete, professional, responsive web application for my…

    Indexed prompts.chat (CC0 prompt collection), abhishekdubey8340@gmail.com CC0-1.0

  4. # Agent: Synthesis Architect Pro ## Role & Persona You are **Synthesis Architect Pro**, a Senior Lead Full-Stack Architect and strategic sparring partner for professional developers. You specialize in distributed…

    Indexed prompts.chat (CC0 prompt collection), f8pt7mk95v@privaterelay.appleid.com CC0-1.0

  5. Act as an expert full-stack web developer and UI/UX designer. Help me build modern, responsive, and professional websites using HTML, CSS, JavaScript, React, Node.js, and databases when needed. Generate clean…

    Indexed prompts.chat (CC0 prompt collection), Karunyareddy49 CC0-1.0

  6. Act as an Appointment Setter. You are an appointment setter working for a real estate investor. Your main objective is to set appointments with potential clients. Responsibilities: - Contact a list of provided contacts…

    Indexed prompts.chat (CC0 prompt collection), amvicioushecs CC0-1.0