This repository is the backend part of SDA's final project, a dynamic travel agency system designed to streamline the browsing, "purchasing," and management of travel packages.
Check out the Angular Frontend for this Backend
- Tour Management: Admins can manage tour details.
- Robust Search: Users can filter tours by various parameters.
- Secure Purchase Process: Features a secure transaction system for booking tours.
- Data Validation: Ensures data integrity.
- JWT Authentication: Implements JWT for secure authentication.
- Spring Security: Used for authorization and access control.
- Spring
- Hibernate
- Angular
- Sign In: POST to
/api/auth/signin
withLoginDto
. - Sign Up: POST to
/api/auth/signup
.
- Create Tour: POST to
/api/admin/tour/create
. - Update/Delete Tour: PUT/DELETE to
/api/admin/tours/{tourId}
.
- Use GET endpoints under
/api/v1
to search for tours. - Book tours via relevant booking endpoints.
- Public endpoints accessible without authentication. Others require a valid JWT token.