As part of the final exam for Web and Mobile Security (semester 2, 2021-2022), I built a full-stack e-commerce-style web application using a Laravel (PHP) back-end and a provided HTML/CSS/JavaScript front-end.
Technologies & Tools Used
- Backend: Laravel (PHP), MySQL, Laravel Migrations
- Frontend: HTML, CSS, JavaScript
- Mail Server: For sending booking confirmation emails
- API Testing: Postman
- Other Concepts: MVC structure, server/client validation, database design
Technologies & Tools Used
- Backend: Laravel (PHP), MySQL, Laravel Migrations
- Frontend: HTML, CSS, JavaScript
- Mail Server: For sending booking confirmation emails
- API Testing: Postman
- Concepts Covered: MVC architecture, relational data modeling, server- and client-side validation, transactional integrity
The project
The app lets users select a destination planet, choose a travel class, and input traveler information including name and travel date. The backend manages these bookings, storing all data securely in a MySQL database using Laravel migrations for smooth database setup and updates.
I created RESTful API endpoints for submitting bookings, retrieving available options, and managing data consistency. Each booking triggers an automatic email confirmation to the user via a mail server integration.
To ensure reliability, both client-side JavaScript and server-side Laravel validation check the data. Additionally, Postman was used extensively to test API routes and monitor request/response data, helping to debug and verify correct backend behavior.
Final Result
Even with a provided front-end, building a reliable back-end with all supporting systems was a real challenge. It was fun, but definitely one of the toughest assignments in my school career.
Unfortunately, I donβt have screenshots or a working live demo to share for this project, but I do have my cheat sheet from that time. π