This is the code base for the Goodlow EFree Church
Some features include:
- PHP Routing on the front end
- API for easy scalability
- PHP based RESTful API, Source
- Admin app built in React, Source
Simply Place this folder in any php server and add the file secrets.php in the API/DB
folder with the following.
$ADMIN_SECRET_KEYS=[
'username'=>'Username',
'password'=>'YourPassword'
];
$YOUTUBE_API_KEY='000000000000000000000000000000';
$VIMEO_API_KEY='00000000000000000000000000000000';
Create Main Database
CREATE DATABASE GoodlowEFC;
Create The Admin User
CREATE USER 'GoodlowAdmin'@'localhost' IDENTIFIED BY 'YourPassword';
And Grant all Privileges
GRANT ALL PRIVILEGES ON GoodlowEFC. * TO 'GoodlowAdmin'@'localhost';
You will have to update your /etc/apache2/apache2.conf
to allow for the .htaccess
and routing to work correctly.
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
As well as enable the rewrite module.
a2enmod rewrite