A REST API using raw PHP and OOP principles
- Install Docker
- Install packages via composer
- Run
cd docker-base-development,./start-scriptto create a network for docker to run on - Return to root directory and run
docker-compose up -dto start server
Could have used bshaffer/oauth2-server-php for a more secure experience, creating tokens and saving to a DB and applying the correct timestamps etc.
But for the purpose of test we hardcoded a token.