Final Exam

screenshot of Final Exam

final exam of web programming

Overview:

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.

Features:

  • JavaScript and Next.js usage: The exam focuses on using JavaScript and Next.js instead of PHP and Laravel for web programming.
  • Switching from MySQL to MongoDB: The update involves changing the database from MySQL to MongoDB to save money, although it may result in slower loading times.
  • Installation Guide: The article provides instructions on how to clone the repository, install dependencies, create environment variables, and generate the database.
  • Security Considerations: The article warns about security risks such as the lack of data validation, outdated token-based authentication system, and lack of error handling on the backend.
  • Branch Management: The article mentions the use of different branches like production and main, as well as the lack of updates for the MySQL branch.

Summary:

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.