It may vary from distro to distro but the basic gist would be
-
install Apache
-
install php
-
install MariaDb or any MySql based DB server
-
Clone the repo with
git clone
command using https/ssh link to desired location -
Place
api
folder in php projects folder (Usually/srv/http/
or/var/www
) -
Place
frontend
folder in any directory
-
Set up DB server and create DB and table. The commands can be found in
api/db.sql
-
Fix the credentials to db in
api/config.php
-
If your php projects are hosted on any port apart from 80, change the
url
infrontend/crud.js
-
Open
frontend/index.html
in browser