top of page
Search

ContactApp Demo

  • Nov 2, 2022
  • 2 min read

Updated: Dec 14, 2022

Tasks

1

https://ss-systems.duckdns.org/login

· Address bar – route check

· Explain route – web.php

2

https://ss-systems.duckdns.org/register

· Address bar – route check

· Create user account

· Verify email


3

https://ss-systems.duckdns.org/password/reset

Forget password

· Change the password

· Login with new password


4

https://ss-systems.duckdns.org/user

User dashboard

· Address bar – route check

· From address bar change user to admin

· Mouse over all buttons

· Explain the route – web.php

· Explan userIndex in HomeController

· Explain index method – ContactController

· Explain home.blade.php

· Explain the gate method from AuthServiceProvider


5

https://ss-systems.duckdns.org/user/create

· Address bar – route check

· Mouse over buttons

· Press create button without filling the form

· Test validation - Name = number, mobile = letter, photo = .doc

· Error message and success message

· Explain create method – ContactController

· Explain store method - ContactController

· Explain create view


6

https://ss-systems.duckdns.org/user/#/edit

· Address bar – route check

· Mouse over buttons

· Check name field validation

· Check mobile field validation

· Check photo field validation

· Run update button

· Explain update method – ContactController

· Demo the orphan image

· Explain the edit view


7

https://ss-systems.duckdns.org/user/#

· Address bar – route check

· Mouse over buttons

· Press no button

· Press yes button


8

https://ss-systems.duckdns.org/admin

· Register new account

· Change the roll no =1

· Verify email

· Address bar – check route

· Explain adminIndex HomeController

· Explain route – web.php

· Explain user and role middleware

· Explain the admin-home view


Outcome

over all the demo went will, as a constructive feedback i was asked to present more fluent and consider the time.


In contacts table for mobile field i was set unique validation as below line;


'mobile' => 'required|numeric|unique::contacts, mobile',


I was looking to set unique validation for mobile field per user but the unique validation rule was apply for whole table, this way two users were not able to add same mobile number in their contact list. therefore; I have removed the unique validation and set the mobile field validation as below;


'mobile' => 'required|numeric|digits:11',


so now the mobile field is required, the input must be number, and contains 11 digits not more or less than that.


ree

Also i was advised to set the error message in a way which not expose the non existence of email in database.


 
 
 

Recent Posts

See All
Project Introduction

In this Project, I am looking to develop a Laravel web application for contact list and host it on a public web server. The project has...

 
 
 

Comments


Thanks for submitting!

© 2023 by DO IT YOURSELF. Proudly created with Wix.com

bottom of page