Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Project P is a full-stack web platform built with a wide range of technologies, where users compete to accumulate the most virtual money. It includes real-time chat, avatar customization, friend interactions, and a dynamic virtual economy—all seamlessly containerized using Docker.

License

Notifications You must be signed in to change notification settings

AdlarX9/project-p

Repository files navigation

Project P

Overview

Project P is an interactive platform where your main objective is to accumulate as much virtual money as possible by using all the available features.

Built as a fully containerized web application using Docker, it leverages React along with popular libraries such as React Cookie, React Three, TanStack Query, and React Router DOM. The stack also includes Webpack, Framer Motion, Nginx, Symfony, Mercure, Redis, and PostgreSQL.

With Project P, you can create an account, add friends, chat with them, transfer virtual currency, create your own bank, request and manage loans, play competitive games against other users, and buy items from the shop to customize your avatar — which is, by the way, a cube!

What does a game look like? — Each match lasts a maximum of 5 minutes. At the end of this time, one player must choose to lose the game by giving 50 to their opponent. The main objective during the game is to convince your opponent that you won’t give up — either through messages or directly via voice chat. — And what if no one gives up? — Then both players lose 200, which is transferred to the Central Bank, managed by the Admin. It acts like a government, regulating the in-game economy.

Getting Started

This project exclusively uses Docker to run.

Since it is not deployed yet, please follow these steps to run the platform locally:

  1. Install Docker and ensure it is running.

  2. Open a terminal and clone the repository:

    git clone https://github.com/AdlarX9/project-p.git
  3. Navigate to the project directory:

    cd project-p
  4. Copy the sample environment file and create a new .env file:

    cp .env.sample .env
  5. Start the application with Docker:

    docker compose up
  6. Once everything is up and running, open your browser and navigate to https://localhost (or the address specified in your .env file) to start using the application.

⚠️ Note: The application will automatically generate several files necessary for its operation. Please do not modify or delete them.

Screenshots

Main Page
Main dashboard

Game
Game interface

Bank Manage
Bank management panel

Chat
Chat interface

Profile Manage
Profile management panel

Shop
Online shop

Friends
Friends management interface

Profile Overview
Profile overview page

Signup
Sign up form

Bank Transfer
Bank transfer page

About

Project P is a full-stack web platform built with a wide range of technologies, where users compete to accumulate the most virtual money. It includes real-time chat, avatar customization, friend interactions, and a dynamic virtual economy—all seamlessly containerized using Docker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published