A PHP project based on project structure MVC to handle both user and admin requests
-
Install XAMPP or WAMPP.
-
Open XAMPP Control panal and start [apache] and [mysql] .
-
Download or clone project from github(https://github.com/ayoubaitouhmad/user-requests).
-
make shure that the files extracted into in C:\xampp\htdocs.
-
open link localhost/phpmyadmin
-
import database to your mysql you can find it in app/data/shema.sql
-
open hosts file C:\Windows\System32\drivers\etc
-
add the line
127.0.0.1 user-requests
-
open vhosts file in C:\xampp\apache\conf\extra
-
add the line
<VirtualHost *:80> ServerName user-requests DocumentRoot "C:\xampp\htdocs\urmvc\public" </VirtualHost>
-
we recomended that creating admin account from mysql and set admin id to
admin_id = 'admin_'
-
open your command prompt inside the project files and run the commands :
-
create pusher account https://pusher.com and copy your api key inside PushNotification class you can found it in app/classes
npm install
copposer install
- open your browser and tap http://user-requests
- Light/dark mode toggle
##Screenshots
- index
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.