Skip to content
API server component for the lasting power of attorney service: Managed by opg-org-infra & Terraform
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
config
data/cache Added composer packages. Nov 21, 2014
db
docker LPA-3192 - Add seeding to the DB migration shell script Apr 24, 2019
module/Application Fixed tests Apr 26, 2019
public Moved to ZF3 PSR4 file structure Apr 30, 2018
.gitignore LPA-2967: Remove vendor and get dependancies when building the contai… Nov 23, 2018
Dockerfile Post DB migration cleanup Jan 4, 2019
Jenkinsfile LPA-2109: 16.04 images Oct 11, 2017
LICENSE Added MIT License Oct 31, 2014
LICENSE-ZF2.txt Updated ready Apr 8, 2016
Makefile
composer.json LPA-3192 - Fix unit tests and switch to use Sirius status constants Apr 24, 2019
composer.lock
docker-compose.yml
phinx.php
readme.md Added route for adding feedback Nov 22, 2018
run-composer.sh LPA-2967: Remove vendor and get dependancies when building the contai… Nov 23, 2018
testCoverage.sh LPA-2109: Fixing testCoverage.sh Oct 11, 2017

readme.md

Lasting Power of Attorney API Service

The Lasting Power of Attorney API Service is responsible for managing and storing the details of LPAs made by users, and also for managing and storing users authentication details; plus the ability to authenticate against those details using either a email/password combination, or an authentication token. It is accessed via the Front End service.

Creating a new database migration

php vendor/bin/phinx create MigrationName

Will create a new migration script template under db/migrations/

Documentation for filling out the template can be found here: https://book.cakephp.org/3.0/en/phinx.html

To start the migration

php vendor/bin/phinx migrate

To rollback

php vendor/bin/phinx rollback

License

The Lasting Power of Attorney Attorney API Service is released under the MIT license, a copy of which can be found in LICENSE.

You can’t perform that action at this time.