A Symfony project intended to work as an API back end for a prayer request application. The goal is to improve my testing skills, build on my knowledge of Symfony, and help me become more familiar with the API concept. Since it is practically just a database abstraction layer, I decided to go with more functional testing instead of unit testing.
To update schema cd
into the VM:
cd /var/www/sites/prayer.dev
Build the base models:
php app/console propel:model:build
Migrate the schema to ensure all is set:
php app/console propel:migration:generate-diff
php app/console propel:migration:migrate
Navigate to /docs
to view the API documentation.
If the install goes correctly, these should be populated automatically in the DB.
Id | User |
---|---|
1 | bassplayer7 |
2 | keysplayer8 |
UserId | Title ------------- | ------------- | --- 1 (bassplayer7) | first test 2 (keysplayer8) | test