Summer Training Internship Report - Cap 735
Summer Training Internship Report - Cap 735
Summer Training Internship Report - Cap 735
In this course, I learned how to build effi cient, scalable, and fast server-side
applications using PHP. Laravel is a powerful runtime that allows developers to build
backends with PHP, making it a popular choice for creating APIs, web applications,
and real-time services..
2
Introduction to Laravel
8
How technologies is used?
1. Laravel:
• Purpose: Laravel was used as the runtime environment to handle server-side operations. It allowed
PHP to be used for building the backend logic.
• How it was used: All server-side logic, including receiving user input (the original URL), processing it,
and responding with a shortened URL, was implemented in Laravel. Its asynchronous, event-driven
nature made it well-suited for handling multiple requests simultaneously, which is crucial for a URL
shortener application with potentially high traffi c.
9
How technologies is used?
Express.js:
•Purpose: Express.js was the framework used to simplify HTTP request handling.
•How it was used: Express.js managed the routing for the application:
•POST /shorten: Accepts an original URL from the user and returns a
shortened version.
•GET /:shortURL: Redirects the user to the original URL when they visit
the shortened URL.
•Express made it easy to define these routes and manage HTTP methods
(GET/POST) and middleware to validate input.
How technologies is used?
3. MongoDB:
13