← Back to projects

Gaming Zone

A Website for Games.

Gaming Zone Homepage

Overview

Gaming-Zone is a website where you can chat with other people about different Games, or just any Topic.

What I built

Data & Backend

UI

Code Sample

result.ejs
<% if (query) { %>
<div class="search-results">
  <!-- POSTS SECTION -->
  <div class="result-section">
    <h2>📝 Posts (<%= posts.length %>)</h2>

    <% if (posts.length > 0) { %>
      <% posts.forEach(post => { %>
        <div class="result-item">
          <h3><%= post.title %></h3>
          <p><%= post.content.substring(0, 200) %><%= post.content.length > 200 ? '...' : '' %></p>
          <div class="result-meta">
            <span class="badge"><%= post.category %></span>
            Posted by <strong>@<%= post.username %></strong>
            • <%= new Date(post.createdAt).toLocaleDateString('de-DE') %>
            • 👍 <%= post.likes.length %> Likes
            • 💬 <%= post.comments ? post.comments.length : 0 %> Comments
          </div>
        </div>
      <% }) %>
    <% } else { %>
      <div class="no-results">
        <p>No posts found for "<%= query %>"</p>
      </div>
    <% } %>
  </div>
</div>
<% } %>

Screenshots

Owner Dashboard
Owner Dashboard with Staff, Users and Warnings.
Owner Dashboard
Gaming-Zones Warn System.
Admin Dashboard
Admin Dashboard with active posts.
Profile Page
Profilepage of a User, with custom banner, profile picture and bio.

A Problem I had

A problem I had, was that my Custom Login system gave me a lot of errors. I needed to rewrite my whole backend to fix it.