Tech Stack | Entity Relationship Diagram | Architectural Pattern | Unit Testing | API Postman Docs | Swagger OpenAPI Docs | Server URL |
---|
- Language: Go
- Framework: Echo
- Database: MySQL, RDS
- ORM: GORM
- Unit Testing: Mockery, Testify
- API Testing: Postman
- API Docs: Swagger, Postman
- Container: Docker
- Deployment: EC2
- CI/CD: GitHub Actions
- Code Editor: Visual Studio Code
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.
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]
https://documenter.getpostman.com/view/14458184/UUy4e66j
https://app.swaggerhub.com/apis/sultanfariz/Pinjem/1.0.0
http://ec2-3-143-230-122.us-east-2.compute.amazonaws.com:8080/api/v1