Library Project is an open-source project that demonstrates a simple library management system, focusing on book operations. It's implemented with Kotlin, Spring Boot, and uses PostgreSQL as its database.
-
CRUD operations for books:
- List all books
- Get a book by its ID
- Add a new book
- Update an existing book
- Delete a book
-
API Documentation using Swagger UI.
- JDK 1.8 or higher
- Docker (for PostgreSQL setup)
-
Clone the repository:
git clone git@github.com:keskinbu/testing-demo.git
-
Navigate to the project directory and start the database using Docker:
cd testing-demo docker-compose up
-
Run the Spring Boot application:
./gradlew bootRun
-
Access the application: Open a browser and navigate to http://localhost:8080/swagger-ui/ to see the API documentation and try out the endpoints.
We welcome contributions from the community. If you'd like to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add a new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a Pull Request.
This project is open-source and available under the MIT License.