If the user wants to go to the private route then the user must have a login. Otherwise, not access.
This website is a bus ticketing system. Users can book bus tickets online.
If the user wants to go to the private route then the user must have a login. Otherwise, not access.
Data is loaded from server-side API through react router Dom and shown on the display.
After login, the user's validity will be checked using JWT from the server side.