front-end-controller
v1.0.1
Published
A simple way for the backend to control and manipulate the frontend API's.
Downloads
52
Readme
FrontEndController and StorageManager System
Overview
This project provides a powerful framework where the backend can dynamically control the frontend through WebSocket communication. The system is complemented by a StorageManager
utility for managing browser storage efficiently. The FrontEnd
class handles WebSocket interactions, ensuring seamless communication between the server and client.
Features
- Backend-Controlled Frontend: Dynamically modify frontend behavior through backend commands.
- WebSocket Integration: Real-time communication between server and client.
- Efficient Storage Handling: Manage
LocalStorage
,SessionStorage
,Cookies
, andIndexedDB
with ease. - Error Resilience: Robust error handling for communication and storage tasks.
Getting Started
Prerequisites
- A backend capable of managing WebSocket connections.
- A modern browser environment that supports
WebSocket
,localStorage
,sessionStorage
, andIndexedDB
.
Installation
- Clone this repository to your project:
git clone https://github.com/Frontend