This personal project was created with the aim of improving my understanding and practice in Laravel, one of the most popular frameworks for backend development. The application consists of a Restful API for a dynamic blog, designed to offer key functionalities such as post categorization, a comment and like system, and user management. I implemented JWT authentication to ensure secure and private access to the blog's features. The MongoDB database is located in the cloud via MongoDB Atlas, providing scalable and efficient storage. Additionally, the project is deployed on fly.io, a platform that facilitates the management and scalability of applications in the cloud. This project not only allowed me to delve deeper into Laravel and other modern technologies, but also gave me practical experience in developing and deploying a complete and robust backend.
In this application, I implemented a robust JWT authentication middleware that ensures the integrity and security of all APIs. This middleware verifies that the token included in the request header is valid; otherwise, the request is rejected to protect the application's data and functionality. The API includes a variety of CRUD (create, read, update, and delete) operations for posts, categories, comments, and users, facilitating complete and flexible content management. In addition, I incorporated a like functionality for posts, allowing users to interact and rate the content. I also enabled the option to upload images to posts, enriching the user experience and offering a more visually appealing presentation of the content. This comprehensive approach not only provides a dynamic and secure platform, but also significantly improves interaction and content management on the blog.