Skip to content

A self-initiated project to help peoples borrow books from library. Developed using Go Echo and implementing Clean Architecture.

License

Notifications You must be signed in to change notification settings

sultanfariz/Pinjem

Repository files navigation

Pinjem

GitHub top language GitHub language count GitHub repo size GitHub last commit

Table of Contents

Tech Stack Entity Relationship Diagram Architectural Pattern Unit Testing API Postman Docs Swagger OpenAPI Docs Server URL

Tech Stack

^ kembali ke atas ^

Entity Relationship Diagram

^ kembali ke atas ^

ERD

Architectural Pattern

^ kembali ke atas ^

Architectural pattern yang digunakan adalah Clean Architecture, dimana aplikasi terbagi atas 4 layer, antara lain: Domain/Entity, Use Case, Controller, dan Repository. Dengan pola seperti ini, semua komponen aplikasi dapat dibuat secara independen sehingga mengurangi dependensi antar komponen dan dapat dikembangkan secara berkelanjutan.

Clean Architecture

Unit Testing

^ kembali ke atas ^

Hasil dari unit test yang telah dilakukan menunjukkan rerata nilai coverage yang berada di atas 80% pada tiap domain bisnis yang ada (6 domain bisnis). Link


ok Pinjem/businesses/book_orders (cached) coverage: 81.2% of statements
? Pinjem/businesses/book_orders/mocks [no test files]
ok Pinjem/businesses/books (cached) coverage: 100.0% of statements
? Pinjem/businesses/books/mocks [no test files]
ok Pinjem/businesses/deposits (cached) coverage: 81.2% of statements
? Pinjem/businesses/deposits/mocks [no test files]
ok Pinjem/businesses/orders (cached) coverage: 84.2% of statements
? Pinjem/businesses/orders/mocks [no test files]
ok Pinjem/businesses/shipping_details (cached) coverage: 100.0% of statements
? Pinjem/businesses/shipping_details/mocks [no test files]
ok Pinjem/businesses/users (cached) coverage: 94.1% of statements
? Pinjem/businesses/users/mocks [no test files]

API Postman Docs

^ kembali ke atas ^

https://documenter.getpostman.com/view/14458184/UUy4e66j

Swagger OpenAPI Docs

^ kembali ke atas ^

https://app.swaggerhub.com/apis/sultanfariz/Pinjem/1.0.0

Server URL

^ kembali ke atas ^

http://ec2-3-143-230-122.us-east-2.compute.amazonaws.com:8080/api/v1

About

A self-initiated project to help peoples borrow books from library. Developed using Go Echo and implementing Clean Architecture.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published