This test-project was created as part of a job interview for Kixx Concept.
This project was developed with the use of Laravel Valet. A simple and fast way to locally host a development environment on macOS.
Below are the steps needed in order to setup this project 0. Clone this repository on your local machine ( I suggest using Valet, see the quick guide above ).
- Install dependencies with
npm install
andcomposer install
- Duplicate the
.env.example
file and name it.env
( or rename.env.example
to.env
). - Execute
php artisan key:generate
to generate a unique APP_KEY - Set up a database in your favourite program. The default name in
.env
is berkshire, if you rename it, make sure to update the.env
-file. - Execute
php artisan migrate --seed
in order to migrate all tables and fill them with dummy data. - See the next section on how to setup mail service (MailHog)
For development: a test mail service (MailHog) has been set up. Emails are not sent to the address, but rather are caught in MailHog and can be seen for development/testing purposes. To visualise the email traffic, follow these steps:
- Execute:
brew install mailhog
- Execute:
brew services start mailhog
- In the browser navigate to: {baseurl}/articles/{1}, fill in the form at the bottom of the page and hit the submit button 'verstuur nu'.
- In the browser navigate to: http://127.0.0.1:8025/ to see how and what is being mailed
The Laravel framework is open-sourced software licensed under the MIT license.