Admin Page & JWT Authentication - Project 4
I guess everyone need Auth and Admin Page… Let’s build the Basics!
- Website :N/A
- GitHub repo :https://github.com/alamparelli/loginPage-apiAuth-jwt
- Stacks Used :
- Node
- Express
- React
- Vanilla CSS
- JWT Tokens
- SQLite3
In this project, I aimed to enhance my full-stack development skills by creating a secure login system using API authentication with JSON Web Tokens (JWT). I wanted to delve deeper into stateless authentication in modern web applications and integrate authentication within my assets.
This experience allowed me to explore how JWTs can securely manage user sessions and protect API endpoints. I also focused on organizing the application’s structure to make the code cleaner and more maintainable by clearly distinguishing between frontend and backend data.
By implementing error handling mechanisms and input validation, I learned how to prevent common security vulnerabilities like SQL injection and cross-site scripting. However, I realize there are still building blocks I need to explore further, such as unit testing, which is crucial nowadays.
This project also made me aware that my CSS knowledge needs improvement. Before using TailwindCSS, it’s important to understand the fundamentals to effectively utilize its utilities. Working on this project was a fantastic learning experience. It taught me how to efficiently handle asynchronous operations using Promises and async/await, and emphasized the importance of carefully managing dependencies to maintain security and compatibility.