Introduction to Big Tiny Thoughts application
Big Tiny Thoughts
Its a simple platform created for users to anonymously share their thoughts about certain topics.
Functionality of final application:
Guest Users:
- can view all posts on home page
- can click on post to see all the comments below it added by app's registered users
- can register to the app
Registered Users:
- can log into their accounts
- can have an email with a link to password reset sent to them if they forgot their password
- can add comments under posts
- can view their account and change their passwords
- have a random unique avatar assigned to their accounts
- can log out their accounts
Admins:
- can do everything that normal registered users can do
- can add new posts
- can edit existing posts
- can delete posts
- can view all posts list
- can view all users list and their admin ranks
Super Admin:
- can do everything that normal admin can do
- can delete users
- can upgrade normal user to an admin
- can downgrade an admin to normal user
- can change users' usernames
- his account can't be downgraded, deleted or edited from app dashboard by anyone
.env file of the application
Database connection:
Mailing configurations:
Appeared problem and its solution:
The default localhost port wasn't working for me so I had to manually change it. Instead of doing that everytime I start the localhost, I simply imprinted the port I want to use in .env file and it became my defult one.
The application is also using security, authorization and authetication methods for every user type and every fuctionality that requires it. Further descriptions, code samples with explanations and additional functionalities will be discussed in the next post.


Komentarze
Prześlij komentarz