-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Visitor-Management is a backend implementation in PHP for a Visitor Management System that can be used (On Desktop or to make an app) to record and track Visitors on a premises. VMS is being built ground-up with corporate-level security in mind, and with the latest and the fastest version of PHP. It implements token-based authentication and JSON to make it easy for apps to communicate with the back-end.
- API: Generating a Token
- API: Adding a Visitor
- API: Retrieve Current Visitors' Data
- API: Retrieve Visitees' Data
- API: Retrieve Visitor Photo
- API: Visitor Exit Record
- API: Errors and Exceptions
Make sure you have xampp 7.1.4+ installed.
Clone the repository in your htdocs folder -
git clone https://github.com/nikramakrishnan/visitor-management.gitOR
if you have already cloned the repository, run -
git pullSwitch to the development branch (Warning: This is unstable!) -
git checkout developmentNow, start Apache and MySQL, and create a database named vms, if not already exists.
Now import the vms(x.y).sql file in the database to create the required table(s).
The VMS is now ready to work!
The default credentials used to login at index.php are -
| Username | admin |
|---|---|
| Password | password |
Session is maintained as a PHP session (uses cookies), and most requests will return data in JSON format (so that the app can understand it easily!)
Please note that all code must be readable and comments should be used wherever required.
Database and table names must be generic easy to understand.