I have implemented register, login and view profile as requested.
On launch the application starts with welcome page from where user can login or register.
On successful registration the app redirects to login page
On successful login the app redirects to profile page
I have also implemented unit tests for login and register functionalities
-
[ cd to projects root directory]
-
[run
touch database/iterviewdb.sqlite
to create sqlite database for the application] -
[ set the
DB_DATABASE
environment variable to absolute path of theinterview.sqlite
file ] -
[run
php artisan migrate
to apply migrations ] -
[run
php artisan serve
to start the application server]