mars-management banner

mars-management

6 devlogs
14h 20m 12s

Mars management is a role based PHP and MySQL web app that improves monitoring a Mars habitat during diff. conditions for users, admin and astronauts .

This project uses AI

used copilot for debugging and page reload part and for the sound play part.also seeked help for readme in github.

Demo Repository

Loading README...

thebiraj_hkr

Shipped this project!

this release includes the new signup flow so users can create accounts and enter the platform with the correct role experience. alongside that, dashboard performance was improved by removing duplicate polling, using shared cached telemetry/events across views, and adding lightweight refresh throttling to prevent burst requests and unnecessary chart redraws. on the backend, storm creation is now transactional so related records are written atomically, improving reliability and preventing partial data states on failure.
šŸŒ

thebiraj_hkr

this update makes the app faster and safer without changing schema.sql. i removed duplicate dashboard api calls by using shared cached data, added small refresh throttles to stop burst requests, and made storm creation transactional so related writes either all succeed or all rollback.

Changelog

0
thebiraj_hkr

implemented the signup system for mars haven. users can now register with a username, email, password, and role, with server-side validation, duplicate checks, password hashing, and csrf protection. i also styled the signup page and updated the landing page so login and signup are easier to find.

Changelog

  • inc.admin role in signup (97d38e1)
  • add signup functionality (96e593d)
  • update README (db98ca6)
  • ā€˜User’ to ā€˜Worker’ roles swap (65f1c7d)
  • message display fix.. (7369ce0)
Attachment
Attachment
0
thebiraj_hkr

Shipped this project!

Hours: 12.28
Cookies: šŸŖ 219
Multiplier: 17.82 cookies/hr

this project is now officially deployed and successfully built a stateaware mission control dashboard that simulates life on the red planet. the system is built for immersion, from the live sirens to the cross-page audio engine that maintains a seamless atmosphere even as you navigate from the commander’s screen to the astronaut’s telemetry view. the backend is now locked with session security to prevent unauthorized access, and the frontend is optimized for low-latency updates via api_client. the red planet is calling.

mission-ready.šŸš€

thebiraj_hkr

Changelog

  • implement session management (91848db)
  • login process instructions (740ba85)
  • improv telemetry interface with realtime update./ (b9f2036)
  • started desigining api instead of separate call… (550e57e)

system is now live on byethost, featuring a completely overhauled audio and security architecture. i implemented smart audio persistence using sessionstorage to ensure ambient tracks resume seamlessly across page loads, and addressed browser autoplay restrictions with a muted-start fallback that unlocks on the first user interaction. the astronaut dashboard now has a live-synced siren system that re-evaluates telemetry every 5 seconds, triggering alarms automatically based on storm intensity and radiation thresholds. finally, i hardened the security layer by implementing 15-minute inactivity timeouts through both server-side php guards and a client-side javascript heart-beat that auto-redirects idle users to the login screen.

Attachment
0
thebiraj_hkr

update::
designed whole api endpoint for managing solar storm records, including creating new storms, updating existing ones, and deleting them. The endpoint also automatically logs corresponding radiation and power data based on the storm intensity, and creates events if certain thresholds are exceeded.also it has been implemented for admin page at first .
future improvements::
implement api part for all parts users,index and astronauts pages, so that they can fetch data without page refresh and also update the charts and events log in real time. This will involve creating new API endpoints for fetching recent events and telemetry data, and then updating the frontend js to call these APIs and update the dom accordingly.

Attachment
Attachment
Attachment
Attachment
0
thebiraj_hkr

i have started working on api thing instead of calling separately for each page which would help in improving smoothness and quality of program.
future improvements::
implement it in actual php page for users
redesignn the ui which seems dull now

Attachment
0
thebiraj_hkr

this was previously created project. due to some reason it got deleted so this is the continuation of previous project of mine called mars-haven which was done for space challenge sidequest. so now i have uploaded initial version i.e the version when the project was deleted and future improvements which can be done is cleaning the code and improving ui as it seems dull and improve api feature instead of calling each in every file…..

Attachment
Attachment
Attachment
0