Skip to content

rombenc/Djava-Luxury

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Djava Luxury Hotel App - Backend

Overview

The backend of the Djava Luxury App project is responsible for handling all server-side operations, including user authentication, room booking management, and API endpoints. This section provides an overview of the backend architecture, technologies used, and setup instructions.

Technologies Used

  • Spring Boot 3: A powerful framework for building Java-based applications.
  • Spring Security 6: Provides authentication and authorization mechanisms for securing the application.
  • JWT Token Authentication: Ensures secure communication between the client and server.
  • Spring Data JPA: Simplifies data access and persistence using the Java Persistence API.
  • JSR-303 and Spring Validation: Enables validation of objects based on annotations.
  • Midtrans: A third-party payment gateway used to process transactions securely and efficiently.
  • OpenAPI and Swagger UI Documentation: Generates documentation for the API endpoints.
  • Docker: Facilitates containerization of the backend application for deployment.

Setup Instructions

To set up the backend of the Book Social Network project, follow these steps:

  1. Clone the repository:
   git clone 
  1. Run the docker-compose file
  docker-compose up -d
  1. Navigate to the DjavaLuxury directory:
  cd DjavaLuxury
  1. Install dependencies (assuming Maven is installed):
  mvn clean install
  1. Run the application but first replace the x.x.x with the current version from the pom.xml file
  java -jar target/djava-luxury-app-x.x.x.jar
  1. Access the API documentation using Swagger UI:

Open a web browser and go to `http://localhost:8088/swagger-ui/index.html.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages