{"id":1833,"date":"2024-12-16T17:06:13","date_gmt":"2024-12-16T09:06:13","guid":{"rendered":"https:\/\/www.tonghin.com.my\/blog\/?p=1833"},"modified":"2024-12-16T17:06:14","modified_gmt":"2024-12-16T09:06:14","slug":"mongodb-and-brand-api","status":"publish","type":"post","link":"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/","title":{"rendered":"MongoDB and Brand API"},"content":{"rendered":"\n<p>Ninth week as an intern in Tong Hin.\u00a0A new task has come by on Monday. Starting the week with learning MongoDb, spend half a day to look on videos and documents. After getting a grasp of it, I need to think and consider the design for the brand. There are some requirements of the brand such as redirecting of brand URL if brand name has changed and to generate the xml.<\/p>\n\n\n\n<p>Continuing with the test and controller on Tuesday, it was partially done and I received a task on convert and read WebP. Spend an hour to try it out and it all works. At the end of Tuesday, Mr. Peter mentioned about storage and want me to check and compare between Amazon S3 and other ways.<\/p>\n\n\n\n<p>Moving on to Thursday, solved some questions of Tuesday, Trying out magick.Net and it can generate GIF based on input image regardless of file types. After that, look into how to set image order and I suggested make a imageDTO. Beside that, I did also do some research on the storage about cloud or local server but it wasn&#8217;t done and not fully understanding what the concept is before Mr. Peter explained one more time.<\/p>\n\n\n\n<p>Following that, resuming on research and trying out. I have listed out the cloud server and local server storage to be consider. Looking through article and Stackoverflow, I have get a better knowing and a voice from all the other user who are using it. I tried it out with the local file explorer first and it work but there is a security concern about file explorer. I will try out the others on next Monday.<\/p>\n\n\n\n<h2>Summary<\/h2>\n\n\n\n<p>In summary, this week focus on a new task. The task is to do brand API and leading to cloud and local server. Researching let me learn more as this is a new area for me. I appreciate the experience provided here at the workplace.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ninth week as an intern in Tong Hin.\u00a0A new task has come by on Monday. Starting the week with learning MongoDb, spend half a day to look on videos and documents. After getting a grasp of it, I need to think and consider the design for the brand. There are some requirements of the brand &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;MongoDB and Brand API&#8221;<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MongoDB and Brand API | Tong Hin&#039;s Blog<\/title>\n<meta name=\"description\" content=\"Ninth week as an intern in Tong Hin. In summary, this week focus on a new task.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB and Brand API | Tong Hin&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Ninth week as an intern in Tong Hin. In summary, this week focus on a new task.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Tong Hin&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-16T09:06:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-16T09:06:14+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#organization\",\"name\":\"TONG HIN MACHINERY\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"sameAs\":[\"https:\/\/www.youtube.com\/channel\/UC60EoxJMNbu8mV0LuEGfrBg\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/wp-content\/uploads\/2020\/10\/web_logo_180_180.jpg\",\"width\":180,\"height\":180,\"caption\":\"TONG HIN MACHINERY\"},\"image\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#website\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"name\":\"Tong Hin&#039;s Blog\",\"description\":\"Sharing About Technology\",\"publisher\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.tonghin.com.my\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/#webpage\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/\",\"name\":\"MongoDB and Brand API | Tong Hin&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#website\"},\"datePublished\":\"2024-12-16T09:06:13+00:00\",\"dateModified\":\"2024-12-16T09:06:14+00:00\",\"description\":\"Ninth week as an intern in Tong Hin. In summary, this week focus on a new task.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/\",\"name\":\"MongoDB and Brand API\"}}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#\/schema\/person\/913b5bfba79926673180dd4f175140f9\"},\"headline\":\"MongoDB and Brand API\",\"datePublished\":\"2024-12-16T09:06:13+00:00\",\"dateModified\":\"2024-12-16T09:06:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/12\/16\/mongodb-and-brand-api\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#organization\"},\"articleSection\":\"Experiential\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#\/schema\/person\/913b5bfba79926673180dd4f175140f9\",\"name\":\"Lim Jun Hau\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0f29cea137e12dc2f5d6bf8daba219c6?s=96&d=mm&r=g\",\"caption\":\"Lim Jun Hau\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts\/1833"}],"collection":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/comments?post=1833"}],"version-history":[{"count":4,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts\/1833\/revisions"}],"predecessor-version":[{"id":1854,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts\/1833\/revisions\/1854"}],"wp:attachment":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/media?parent=1833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/categories?post=1833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/tags?post=1833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}