How ijexu/proyecto-semestral works
Casino Red label is a simulated online-casino frontend. Users register or sign in, then browse and filter games, manage favorites, view or deposit tokens, and edit their profile; the screens call a mock REST-style service that persists data in browser storage. The service also documents additional game and movement operations without dedicated screens. The README establishes the mock-data and persistence design; sampled excerpts show key screen-to-service calls. Some service internals and page wiring were not sampled, so uncertain links are omitted.
Main entry points: api.js Account service · main.js Game browser · tokens.js Tokens and history · mocks Mock data
Components 12
Account access
- Sign-in handler
frontend/js/index.js - Registration handler
frontend/js/register.js
Casino experience
- Game browser
frontend/js/main.js - Tokens and history
frontend/js/tokens.js
Account management
- Profile settings
frontend/js/config.js
Mock services and data
- Account service
frontend/js/api.js - Game service
frontend/js/api.js - Favorites service
frontend/js/api.js - Movement service
frontend/js/api.js - Mock data
frontend/mocks
Other components
- Visitor
- Browser storage
Connections 23
- Visitor → Sign-in handler: signs in
README.md - Visitor → Registration handler: registers
README.md - Sign-in handler → Account service: authenticates
frontend/js/index.js - Registration handler → Account service: creates account
frontend/js/register.js - Visitor → Game browser: browses games
README.md - Game browser → Account service: loads profile
frontend/js/main.js - Game browser → Game service: loads games
frontend/js/main.js - Game browser → Favorites service: manages favorites
frontend/js/main.js - Game browser → Game service: enters game
README.md - Visitor → Tokens and history: manages tokens
README.md - Tokens and history → Account service: loads balance
frontend/js/tokens.js - Tokens and history → Movement service: loads history
frontend/js/tokens.js - Tokens and history → Movement service: deposits tokens
frontend/js/tokens.js - Visitor → Profile settings: edits profile
README.md - Profile settings → Account service: updates account
frontend/js/config.js - Account service → Mock data: loads initial data
README.md - Game service → Mock data: loads initial data
README.md - Favorites service → Mock data: loads initial data
README.md - Movement service → Mock data: loads initial data
README.md - Account service → Browser storage: persists data
README.md - Game service → Browser storage: persists data
README.md - Favorites service → Browser storage: persists data
README.md - Movement service → Browser storage: persists data
README.md