Implement a restful api microservice to provide registration and token based authentication for mobile and web application front ends and for token based authentication for other services within a larger overall appliclation infrastructure.
Using PHP 7 and Silex, contained in Docker, build an API with configurable datasource( mysql, pgsql, redis, memcache) for user registration and authentication.
The API will be used by multiple client applications, mobile and web frontends, as well as other microservices for token authentication and refresh.
Registration will built to allow using either:
* mobile phone number as registration detail and sms gateway for verification loop,
* or email address/password registration with email verification loop
Configuration for backends should be setup by dependency injection from either yaml files or environment variables in the docker container (as per docker best practices)
Complete functional specification is available after job is awarded.
Working on this project will be done through a git server with pull requests and peer reviewed code throughout the project.
This is the first component of a larger ongoing project, so this will lay the foundation for a series of services that will make up a new online service.