Skip to content

mHz28/rest-scheduler-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-scheduler-api

Sample project with Spark-Php, sparkphp/auth, firebase/php-jwt

Some sample data are generated to demostrate data structure. Utilities.php is sample worker Singleton that exist to provide sample data or as placeholder for functions leading to database implementation/

Get Started : Get sample tokens to be used in AUTHORIZATION header.

Emplyee token : [GET] /employee/sample

Manager token : [GET] /manager/sample

Current default data has 1 Manager and 1 Employee. Counts can be increased by modifying Constants::MAX_EMPLOYEES and Constants::MAX_MANAGERS.

to start Server: php -S localhost:8000 -t web/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages