https://github.com/gabrielferreira02/room-reservation-api
Simple api to manage room reservations
https://github.com/gabrielferreira02/room-reservation-api
docker java security spring swagger
Last synced: about 2 months ago
JSON representation
Simple api to manage room reservations
- Host: GitHub
- URL: https://github.com/gabrielferreira02/room-reservation-api
- Owner: gabrielferreira02
- Created: 2025-01-14T15:57:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T21:33:50.000Z (over 1 year ago)
- Last Synced: 2026-05-04T02:40:04.384Z (about 2 months ago)
- Topics: docker, java, security, spring, swagger
- Language: Java
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Room reservation API




This api implements a simple room reservation system using jwt authentication and documentation with swagger
To use the application you need to clone the repository
```bash
git clone https://github.com/gabrielferreira02/room-reservation-api.git
```
Go to the directory of the project
```bash
cd room-reservation-api
```
Use maven to generate the .jar file
```bash
mvn clean install
```
Now you can start the application using docker. First you need to build the images
```bash
docker-compose build
```
Then you can start the api using the following command
```bash
docker-compose up -d
```
With the api started you can see the documentation in this endpoint
```bash
http://localhost:8080/swagger-ui.html
```
All users in the database has a password "12345678". So to loggging in an user you can list the users and put the username and the password to authenticate
To test the application use maven with the following command
```bash
mvn test
```