![]() Controllers and middleware for other user roles are named with the user role as prefix.Īll the routes go through the respective middleware and redirect if access is denied. The HomeController is the normal user controller. Three middlewares and three controllers correspond to three user roles: normal user, moderator, admin.įind them in app/Http/Controllers and app/Http/Middleware. This website uses middlewares for authentication purposes (which, although is easier to implement, is not the best way to do multiple authentication). The corresponding model files are app/Users.php and app/Contacts.php. She secretly attends every underground MMA fight featuring The Predator, the undisputed champion. Sia O'Donnell can't help but push the limits. The database consists of two primary tables: users and contacts (see database/migrations/ for more details). Rating details 3,422 ratings 311 reviews When you can't resist the one person who could destroy you. Get ip from network settings or use tools like ipconfigĭistribute IP:PORT for local network access Source Database TablesĪll layouts in this website are the default provided by laravel through make:auth command. Run the project php artisan serve -host= -port=.Install maatwebsite package composer install maatwebsite/excel.Migrate tables to database php artisan migrate -seed.Create a new database and enter the credentials in.Predefined templates are available with composer installation Validation should be added (both front-end and back-end) wherever required: signup, upload CSV (email: format and unique, pincode: format).Moderator should be able to view the status with other fields.Admin/Normal user should also be able to edit fields like contact number, address, PINCODE.Other possible status are (“Failed”, “In process”, “Successful”) Admin/Normal user should see a button to change the status of a person/row.User should be able to view all the data according to the permissions with filters on email, pincode and username (only for moderator and admin).Admin: can view and edit data under any user.Moderator: can view the rows under any user but can not edit them.Normal: can upload CSV, view and edit all the rows under him.All entries in a CSV file should be verified and if something is wrong, no row should be added to the DB and all errors should be listed along with row numbers and corresponding error messages.Email and PIN Code should be in correct format.Email addresses of the people under a user should be unique (same email address cannot be repeated under different users).User should be able to upload a CSV file containing information of people which should be contacted by him (must include name, email, contact number, address and PIN code).Reset password functionality using email.Signup using email (unique) and password (check strength).Learning full stack development using laravel TasksĬreate an application which consists of the below mentioned functionalities:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |