https://github.com/grakic/meetrq
Meeting request form - Sample Laravel 5 web app
https://github.com/grakic/meetrq
Last synced: 3 months ago
JSON representation
Meeting request form - Sample Laravel 5 web app
- Host: GitHub
- URL: https://github.com/grakic/meetrq
- Owner: grakic
- License: mit
- Created: 2016-01-30T14:22:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-31T04:40:23.000Z (over 9 years ago)
- Last Synced: 2025-01-14T14:29:40.266Z (4 months ago)
- Language: PHP
- Size: 64.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Meeting Request Form
The form have the following fields:
- Name
- Message
- Available Date(s)Available dates are any upcoming dates. Zero-to-many dates can be selected.
No double booking checks are implemented.When a valid form is submitted it should:
- Display a confirmation message to the user
- Send an email to the form owner with the information (sent via SendGrid)
- Add the data to a MySql database.### Framework
Laravel 5.2 framework is used with default project structure taken from laravel/laravel
repository. It is very verbose for such a small web app but it follows the general practice
when working with Laravel and it should be readable to a skilled professional.### Setup
Install PHP and node.js dependencies:
composer install
Copy .env.example to .env and customize:
cp .env.example .env
php artisan key:generate
# edit .envDeploy database migrations:
php artisan migrate
If running in production environment, enable optimizations:
php artisan optimize
php artisan config:cache
php artisan route:cache### Unit tests
- Framework smoketest (auto-generated)
- ScheduleRepository: store method input mapping
- Planned: ScheduleRepository countAdvanceByDate and getAdvanceByDate methodsRun PHPUnit tests with:
php vendor/bin/phpunit