final exam of web programming
This is a final exam of a web programming course that focuses on using JavaScript and Next.js instead of PHP and Laravel. The update includes switching the database from MySQL to MongoDB to save costs, although it may result in slower loading times. The article provides instructions on how to get started with the project, including cloning the repository, installing dependencies, and creating the necessary environment variables. It also mentions the need to generate the database and provides an example database for import. The article warns about security risks due to the focus on saving time and effort, such as the lack of data validation in the API and the use of an outdated token-based authentication system. It also mentions the lack of error handling and response management on the backend. The article briefly mentions the branch for MySQL but states that there are no updates for it. The website is deployed using the production branch once the main branch is stable.
This article provides an overview of a final exam project for web programming using JavaScript and Next.js instead of PHP and Laravel. The exam includes the update of switching from MySQL to MongoDB for the database to save costs, although it may result in slower loading times. The installation guide provides step-by-step instructions on how to get started with the project, including cloning the repository, installing dependencies, creating environment variables, and generating the database. The article also highlights the security risks due to time and effort constraints, lack of data validation, and an outdated token-based authentication system. Additionally, the lack of error handling and response management on the backend is mentioned. The article briefly mentions branch management, specifically the deployment using the production branch once the main branch is stable. The MySQL branch, however, has no updates.