This application's root has two major sub-folders: private
and public_html
. The private
files can be accessed only on the server while the files inside the public_html
directory can be accessed by anyone. To begin using this app, configure the Apache server to have DOCUMENT_ROOT
as /FPlus/public_html
. Once this is done, you will have to setup the databases required and connect to the various APIs that this project uses.
This application requires MySQL. Once MySQL has been installed, open the file /private/db_setup.sql
and copy the entire file. Paste and execute the file in the MySQL command prompt.
- This application uses the PHP GMail API to send emails to users. You need to activate the API before being able to use this application.
- Go to the GMail PHP QuickStart page.
- Turn on the GMail API, and download the client configuration file and save them in the working directory.
- Install composer using
sudo apt install composer
. - Navigate to
/private/gmail
and run the commandcomposer require google/apiclient:^2.0
to gather the required libraries. - Execute
php gmail_api_setup.php
- You will be prompted to authorize email access. Once you've granted permission, the authetication flow is complete and GMail API can be used by FPlus.