Yanuar ArifinSetting Up Docker Compose for Golang ApplicationThis post will explain how I create Dockerfileand docker-compose.yml for golang development. The full code can be seen here7 min read·3 days ago----
Yanuar ArifinFind Minute, Hour Difference using Carbon in PHPstrtotime would give you full timestamp, and its not straightforward(for me) to find minute/hour/day (or any number of minute) difference…2 min read·Mar 25, 2021----
Yanuar ArifinLumen API 07: Creating URL To Delete a ResourceThis is what jsonapi.org says about delete(we will be covering when the resource is not exist, and another state when the field exists and…4 min read·Dec 30, 2019----
Yanuar ArifinLumen API 06: Update An Existing RecordIn many API guidelines, there are 2 ways to update a resource, one is sending only the attribute(s) that needs to be updated, for example…6 min read·Nov 6, 2019----
Yanuar ArifinLumen API 5: Create Route To Insert New RecordAfter we have create routes to show the items that we have, now it is time for us to make a URL for creating new item. As always, the…5 min read·Oct 26, 2019----
Yanuar ArifinLumen API 04: List of ItemsPreviously we have create a route to show one article using Resource class, in this one, we will reuse the Resource class to build our…5 min read·Oct 17, 2019----
Yanuar ArifinLumen API: Creating Route To Show One ItemPreviously, we have tried how to create a route and process it inside the routes/web.php file. Now we will make a route, then handle it in…7 min read·Oct 15, 2019----
Yanuar ArifinLumen API. Faking DataWelcome back to part 3 of the Lumen API series. in this part we will define how to create and populate the database with fake data…10 min read·Oct 6, 2019----