Skip to content

ricardoyang00/Steal

Repository files navigation


STEAL! is an online marketplace focused on selling CD Keys. It offers a secure, user-friendly platform for gamers seeking affordable game keys, aiming to become the top destination for accessible, high-quality digital gaming.

Features

  • 🎮 Personalized Recommendations: Suggests games based on past orders and top-sellers
  • 🔍 Advanced Search: Easily find games with filters
  • 🔔 Wishlist Alerts: Real-time notifications for sales and restocks
  • 🎁 Rewards: Earn S-coins for discounts on future purchases.
  • 💰 Flexible Checkout: Buy single games or entire carts with multiple payment options.

Installation

To prepare for development, you need to install:

  • PHP version 8.3 or higher
  • Composer version 2.2 or higher
sudo apt update
sudo apt install git composer php8.3 php8.3-mbstring php8.3-xml php8.3-pgsql php8.3-curl

On macOS, install using Homebrew:

brew install [email protected] composer

Quickstart

PostgreSQL setup

The Docker Compose file provided sets up PostgreSQL and pgAdmin4 as local Docker containers.

To start the container, from the project root run the following command:

docker compose up -d

Open your browser and navigate to http://localhost:4321 to access pgAdmin4.

In pgAdmin4, Add New Server:

  • Name: postgres
  • Host name/address: postgres
  • Port: 5432
  • Maintenance database: postgres
  • Username: postgres
  • Password: pg!password

To stop the container, just run the command:

docker compose down

Environment setup

To setup the env variables, run the command:

cp .env.example .env

To use all the functionalities of the website, ensure you fill in .env the variables.

PHP setup

Install all local dependencies required for development:

composer install

To start the development

# Seed database from the SQL file
php artisan db:seed

# Start the development server
php artisan serve

Access to http://localhost:8000.

Important

You might need to GENERATE APP KEY to be able to use the application.

Run the following command if necessary:

php artisan key:generate

Login credentials

Username Email Password
admin [email protected] 1234
buyer1 [email protected] 1234
seller1 [email protected] 1234

Demo

IMAGE ALT TEXT HERE

Artifacts

The artifacts can be found here.

Contributors

This project was developed for LBAW course unit at @FEUP.