- Create this form and an appropriate database or datastore schema.
- Store all appropriate information and send an email
- PHP 7.4
-
Save the file .env.example as .env
-
Set up your mailtrap credentials in the .env file that you just created.
-
Create a simple sqlite database file_
$ touch database.sqlite
- Run migrations:
$ php artisan migrate
- Run the server:
$ php artisan serve
A few aspects to improve
- Work on throttling possible spam attacks
- Add a captcha
- Add fail test cases
- Improve email template
- Improve responsive design
- Add a loader
- Handle exceptions