Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Arcadia β€” Digital Game Discovery & Storefront Platform

A full-stack game discovery and catalog platform engineered with a dark-themed visual aesthetic, multi-platform search, verified external store integrations, and role-based administrative moderation.

Live Application TypeScript React Node.js MongoDB License: MIT


πŸ“Œ Project Overview

Arcadia is an engineering portfolio project that demonstrates a full-stack, production-hardened web application for video game discovery.

Modern gamers navigate fragmented ecosystems (Steam, PlayStation Store, Xbox, Nintendo eShop, and GOG) with inconsistent metadata, disjointed reviews, and separate libraries. Arcadia unifies discovery across these platforms into a single, high-performance web experience.

Live Application: https://arcadia-two-ruby.vercel.app/

Notice: Arcadia is a portfolio project and catalog discovery engine. It does not process payments or sell games directly. All game acquisitions are routed via verified outbound links to authorized, licensed retailers (Steam, PlayStation Store, Xbox Marketplace, Epic Games, GOG, and Nintendo eShop).


πŸ–ΌοΈ Application Preview

Experience the live deployed platform: arcadia-two-ruby.vercel.app

Platform Model: Arcadia aggregates game data, community reviews, and verified store availability. It is strictly a game discovery platform and does not offer an internal checkout or payment processing system.

1. Discover & Featured Hero View

The discovery landing page showcases featured titles with integrated Metacritic benchmark scoring, community rating indicators, genre categorization, and direct links to inspect title details, add to wishlist, or explore curated categories.

Arcadia Homepage & Featured Game

2. Multi-Platform Catalog Exploration & Filtering

The catalog explorer provides real-time multi-platform filtering across PC, PlayStation 5, PlayStation 4, Xbox Series S/X, Xbox One, and Nintendo Switch, complete with genre categorization, popularity sorting, and responsive game cards.

Arcadia Catalog & Multi-Platform Filters

3. Real-Time Title Search & Match Results

The search view queries cached title indexes and upstream catalog databases with instant keyword matching, displaying release year badges, platform compatibility tags, and community ratings.

Arcadia Title Search & Keyword Matching


🎯 Verified Features

  • Multi-Platform Game Catalog: Upstream proxy integration with the RAWG Video Games Database API featuring local database caching, Metacritic benchmark scoring, genre filtering, and bounded pagination.
  • Strict Data Ownership & Collection Isolation:
    • Personal Libraries: Track ownership and gameplay progress across four distinct states (Playing, Completed, Backlog, Dropped) with platform tagging.
    • Wishlists: Isolated bookmarking system preventing artificial overlap with library inventory.
  • Community Reviews & Ratings: 1-to-5 star rating system with aggregate telemetry, user reviews, and author edit permissions.
  • Administrative Control Plane (/admin):
    • User account moderation (account suspension and role promotion/demotion).
    • Catalog curation (featured title pinning and cache purging).
    • Review moderation and an immutable administrative audit log stream.
  • Application Security & Hardening:
    • Strict CORS origin allowlisting blocking arbitrary third-party subdomains and preview spoofing.
    • Fail-safe production administrator bootstrap script enforcing password complexity before database mutation.
    • Cross-origin session cookies (HttpOnly, Secure, SameSite=None) with instant token version revocation.
    • Double-submit Anti-CSRF protection tokens on all mutating HTTP methods.
    • 1MB payload limits intercepting oversized request bodies with HTTP 413 PAYLOAD_TOO_LARGE.
  • Verified External Storefront Routing: Sanitized outbound redirection restricted to verified gaming storefronts, preventing open-redirect exploitation.

πŸ—οΈ Technology Stack

Technology Role in Architecture
React 18 Client-side user interface, state management, and component architecture
TypeScript 5.7 End-to-end type safety across shared data models, API endpoints, and UI
Vite Modern frontend tooling, code-splitting, and asset bundling
Tailwind CSS Custom dark-purple design system with glassmorphic accents and responsive layouts
Node.js & Express REST API gateway, authentication middleware, rate limiting, and route guards
MongoDB Atlas & Mongoose Persistent document storage for users, personal libraries, reviews, and audit logs
RAWG Video Games Database API Upstream video game metadata, artwork, release dates, and platform information
Bcrypt.js Salted password hashing using 12 computational rounds
JSON Web Tokens (JWT) Stateless authentication tokens stored in secure, HttpOnly browser cookies
Vercel Edge hosting and continuous deployment for the frontend Single-Page Application (SPA)
Render Cloud web service hosting for the backend Express REST API

πŸ“ High-Level Architecture

flowchart TD
    subgraph ClientTier["Frontend Tier (Vercel)"]
        Browser["Desktop & Mobile Browsers"]
        SPA["React 18 + Vite SPA<br/>(Tailwind CSS)"]
        Browser <-->|User Interaction| SPA
    end

    subgraph SecurityBoundary["Security & Transport Boundary"]
        CORS["Strict CORS Allowlist<br/>(arcadia-two-ruby.vercel.app)"]
        Cookies["HttpOnly, Secure, SameSite=None Cookies<br/>+ Double-Submit CSRF"]
        SPA <-->|HTTPS REST Requests| CORS
        CORS <--> Cookies
    end

    subgraph GatewayTier["API Gateway Tier (Render)"]
        Express["Express REST API<br/>(/api/v1/*)"]
        AuthMiddleware["Auth & RBAC Middleware<br/>(Bcrypt 12 rounds, TokenVersion)"]
        RateLimit["Rate Limiting & Payload Limits<br/>(1MB max body, 15 req/15 min auth)"]
        
        Cookies --> RateLimit
        RateLimit --> AuthMiddleware
        AuthMiddleware --> Express
    end

    subgraph DataTier["Data & Integration Tier"]
        DB[(MongoDB Atlas<br/>Users, Libraries, Reviews, AuditLogs)]
        Cache[(Game Cache Collection<br/>Cached RAWG Metadata)]
        RawgAPI["RAWG Video Games API<br/>(Upstream Catalog Source)"]
        
        Express <-->|Mongoose ODM| DB
        Express <-->|Read / Write| Cache
        Express <-->|Server-to-Server Axios| RawgAPI
    end

    subgraph ExternalRetailers["Verified Storefronts"]
        Steam["Steam Store"]
        PS["PlayStation Store"]
        Xbox["Xbox Marketplace"]
        GOG["GOG.com"]
        Nintendo["Nintendo eShop"]
        
        Browser -.->|Direct Outbound Link| Steam
        Browser -.->|Direct Outbound Link| PS
        Browser -.->|Direct Outbound Link| Xbox
        Browser -.->|Direct Outbound Link| GOG
        Browser -.->|Direct Outbound Link| Nintendo
    end
Loading

πŸ”„ Typical User Workflow

  1. Discovery & Browsing: The user visits the storefront, browsing trending, top-rated (Metacritic score >= 80), and newly released titles.
  2. Catalog Search & Filtering: The user enters a search term or filters by genre (Action, RPG, Strategy, Indie) and platform. Requests route through the backend proxy, which serves cached metadata from MongoDB or retrieves fresh data from RAWG.
  3. Game Inspection: The detail view renders title metadata, screenshots, system requirements, community ratings, and verified store links.
  4. Account Management & Authentication: The user creates an account or signs in. Passwords are validated using Zod, hashed with 12 bcrypt rounds, and issued as a stateless JWT in an HttpOnly cookie.
  5. Collection Tracking:
    • Clicking Wishlist saves the title to the user's isolated bookmark list.
    • Clicking Add to Library allows setting the play status (Playing, Completed, Backlog, Dropped) and target platform.
  6. Community Review: The authenticated user posts a review and rating. Duplicate reviews by the same user on the same title are rejected.
  7. External Acquisition: When ready to purchase or download, the user clicks verified storefront links directing to the official retailer.

πŸ” Showcase Repository Contents

This public showcase repository provides architectural documentation, API contracts, security analysis, and deployment runbooks:


⚠️ Known Limitations & Engineering Roadmap

In the interest of full technical transparency, the following items reflect ongoing engineering backlog items:

  1. Transactional Email Service: In development mode, password reset tokens are returned in the API payload for testing. In production, an outbound transactional email service (e.g. Resend, SendGrid) is required to deliver reset links to user inboxes.
  2. Upstream Dependency Migrations:
    • zod: Currently on 3.25.76. Upgrading to zod@4.x resolves advisory GHSA-mrhx-c7xc-m3w5 and is planned as a dedicated refactor across shared schema contracts. (Existing 1MB body limits and scalar schemas mitigate exploitation).
    • react-router: Currently on 6.30.6. Upgrading to react-router-dom@7.x resolves advisories GHSA-wrjc-x8rr-h8h6 and GHSA-337j-9hxr-rhxg. (The application's static SPA architecture and strict internal routing prevent exposure).
  3. Search Caching Layer: Adding Redis in front of the MongoDB catalog cache to further reduce upstream query latency during high-traffic peaks.

🌱 Project Evolution

Arcadia grew out of an earlier gaming website I created using WordPress: Gameverse.

  • Origins & Inspiration: Gameverse was my earlier WordPress-based gaming content website. Creating it introduced me to organizing gaming media and inspired the vision for the later Arcadia project.
  • Advanced Full-Stack Platform: Arcadia was built from the ground up as a separate, more advanced full-stack game-discovery platform featuring real-time searchable catalogs, platform and genre filtering, community reviews, personal libraries, and defense-in-depth security controls.
  • Independent Architectures: The two projects have completely separate codebases, repositories, and technology stacks:
Project Description Technology Stack Link
Gameverse Earlier gaming content website WordPress CMS Gameverse (WordPress)
Arcadia (Application) Advanced full-stack game discovery platform React 18, TypeScript, Node.js, Express, MongoDB Atlas, RAWG API Arcadia Live Application
Arcadia (Showcase) Architectural specifications, threat models & API contracts Technical Documentation & Design Artifacts Arcadia Showcase Repository

The two websites are separate projects that represent distinct stages of my development journey, transitioning from content management to full-stack application architecture.


βš–οΈ Attribution & Licensing

  • Documentation & Showcase Assets: Licensed under the MIT License.
  • Game Metadata & Artwork: Game titles, logos, screenshots, and metadata are retrieved via the RAWG API and belong to their respective publishers and developers. Displayed under catalog fair-use and information discovery principles.
  • Icons: Provided by Lucide Icons under the ISC License.

Showcase Repository maintained by mnp210.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors