laravel-boilerplate
laravel-boilerplate copied to clipboard
User management enhancements
The requested tasks were implemented and here are some screen shots to support:
- Upload profile picture during user registration
- View profile picture in user account page and in the top navigation bar
- Edit profile picture from information tab
- Save images in public and accessible directory
- Add some user insights in the Admin dashboard view
Some assumptions were made while working on these tasks:
- Maximum image size to be uploaded is 2K
- Supported image formats are [jpeg, jpg, png, svg]
- Image displays are limited to 100 width and 100 height
- Guids were used for naming images to ensure uniqueness.
- While updating profile pictures, old images are deleted from storage to avoid waste of space.
Challenges:
- Using Macbook induced some errors that I had to troubleshoot first to be able to run the project i.e I had to add this "DB_SOCKET=/Applications/MAMP/tmp/mysql/mysql.sock" to the db environment variable to allow connection.
- I faced some issues with Mailtrap until I found that port 2525 was the blocker. I was able to presume as soon as I changed it to 465.
- The only IDE I have on my personal laptop is Visual Studio which wasn't helpful with this project. I had limited access to the internet so it took ages to download other IDEs. So please excuse any indentation issues as I was working with text files.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.