Online Ticket Booking System: Frontend and Backend Setup Guide
This guide focuses on building a simple login and registration system for an online ticket booking application using HTML, JavaScript, and Spring Boot. The system includes user authentication endpoints and frontend pages for login and registration.
Frontend Implementation
Login Page (index.html)
The login page serves as the entry point for user ...
Posted on Fri, 17 Jul 2026 16:23:28 +0000 by mazsolt
Preventing Browser Password Saving for Vue 3 Login via Text Input Masking
Browser default behavior monitors form submissions and prompts to save passwords when a visible type="password" input is detected. Too bypass this, use a text input instead and dynamically replace entered characters with dots.
<template>
<el-form :model="authCreds" :rules="authRules" ref="authForm ...
Posted on Tue, 07 Jul 2026 16:25:06 +0000 by nloding
User Profile Management API Implementation
Retrieving User Profile Information
This endpoint queries the user database and returns all user data to the frontend.
API Documentation
URL: /users
Method: GET
Response:
user.to_dict() # Returns all user table data as a dictionary
Business Logic
Retrieve user ID from the g variable
user_id = g.current_user_id
Query the database using t ...
Posted on Wed, 13 May 2026 16:23:35 +0000 by cdc5205