Formerly known as Uber Rapsy, RAPPAR is a fullstack web application dedicated to reviewing Polish Hip-Hop music.
-
Include client_secret.json into the "application/api" directory.
-
Include api_key.txt into the "application/api" directory.
-
Include refresh_token.txt into the "application/api" directory.
Source: Generate New Refresh Token within the app.
-
Include database_credentials.txt into the "application/api" directory.
File Format:
hostname
username
password
Source: Default localhost credentials or hosting provider.
-
Include smtp.json into the "application/api" directory to send emails. The format must match that of MailService.php and contain the following fields: host, port, username, password, from_email, from_name, reply_to.
Source: Setup an inbox within your hosting provider. Connect it with PHPMailer using the information above.
-
Include maintenance_ips.txt into the "application/api" to allow a maintainer to update the app in maintenance mode. Include a single ip address in the first line.
-
Import the rappar.sql export into your phpMyAdmin.
-
For admin privileges, set your account's role to 'reviewer' in the database.
-
Set up the certificate to launch on localhost.
-
Run
composer updatein the cmd/git bash in the application root and make sure "RAPPAR/vendor" exists.
- All PHP code must comply with PSR-1 and PSR-12.
- All PHP methods and classes must be documented using PHPDocs.
- The following models are part of autoload: LogModel, SecurityModel and UtilityModel. The following libraries and services are part of autoload: htmlsanitiser (HTML Purifier). No new entries may be added without the product owner's permission.
- Direct access to $_SESSION is disabled. Use the getters and setters in SecurityModel to authenticate and authorise users.
- Page titles must match the following format: {what action is being carried out on which item, or a general description of the page if it does not touch a specific item} | {(optional) details of or about the action} - RAPPAR.
All Rights Reserved © LanternCode 2019