본문 바로가기
  • AI (Artificial Intelligence)

All633

Harnessing the Power of GraphQL Ref. https://softobiz.com/harnessing-the-power-of-graphql/ REST has been the standard way for designing web APIs over the decade. It has been the reason for some really great ideas like stateless servers and structured access to resources. However, the technology also has a downside. Rest APIs are too inflexible to keep up with constantly changing requirements of clients. For this reason, we nee.. 2021. 6. 30.
Understanding the Event-driven Architecture Ref. https://softobiz.com/understanding-the-event-driven-architecture/ Varied approaches have appeared recently in computing like big data, serverless, microservice architecture, event-driven architecture, etc. Companies like Netflix and its contemporaries are using these approaches. For their application development, Microservice architecture plays a major role. But how do they benefit from mic.. 2021. 6. 30.
serverless-dotenv-plugin Ref. https://www.npmjs.com/package/serverless-dotenv-plugin Preload environment variables into serverless. Use this plugin if you have variables stored in a .env file that you want loaded into your serverless yaml config. This will allow you to reference them as ${env:VAR_NAME} inside your config and it will load them into your lambdas. serverless>=3.0.0 introduces changes that significantly imp.. 2021. 6. 30.
Mac 에서 Homebrew 를 통해 node, npm, yarn 설치하기 Ref. https://butter-ring.tistory.com/17 Homebrew 설치 맥에서 개발환경 세팅을 할 때 가장 먼저 설치해야 할 패키지 관리 프로그램이다. Homebrew 홈페이지에 접속을 하면 바로 밑의 명령어가 뜬다. 혹시 궁금하면 접속해보자 -> https://brew.sh/index_ko /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" node, npm 설치 homebrew를 설치 후 아래 명령어를 통해 설치한다. brew install node 설치가 완료되면 제대로 설치가 되었는지 버전은 어떤지 확인해보자 node -v npm -v 두 가지의 버전이.. 2021. 6. 22.
Making Asynchronous HTTP Requests in JavaScript with Axios Ref. https://stackabuse.com/making-asynchronous-http-requests-in-javascript-with-axios Introduction Axios is a Promised-based JavaScript library that is used to send HTTP requests. You can think of it as an alternative to JavaScript's native fetch() function. We will be using features such as Promises, async/await, and other modern JavaScript design patterns in this tutorial. If you'd like to ge.. 2021. 6. 21.
4 + 1 ways for making HTTP requests with Node.js: async/await edition Ref. https://www.valentinog.com/blog/http-js/ HTTP requests are a means for fetching data from a remote source. It could be an API, a website, or something else: at some point you will need some code to get meaningful data from one of those remote sources. Starting from the easier one we will explore the "classic way" for doing HTTP requests all the way through libraries which support Promises. .. 2021. 6. 11.
request-promise-core Ref. https://www.npmjs.com/package/request-promise-core This package is the core for the following packages: request-promise request-promise-any request-promise-bluebird request-promise-native request-promise-core contains the core logic to add Promise support to request. Please use one of the libraries above. It is only recommended to use this library directly, if you have very specific require.. 2021. 6. 11.
How to Develop a Boilerplate for API with Node.js, Express, and MongoDB Ref. https://hackernoon.com/how-to-develop-a-boilerplate-for-api-with-node-js-express-and-mongodb-4c771ae1c2df For the most part, developers work with the ready project’s code usually created by someone else or developed pretty long ago. That’s why, when it comes to writing their own project from scratch, developer’s mind is usually cluttered with the following questions. What should I begin wit.. 2021. 6. 3.
Node.js vs Java: What to Choose in 2021? Ref. https://blog.techmagic.co/node-js-vs-java-what-to-choose/ What is more relevant to use for app development today — Node.js or Java? Is there a big gap between them? What about the Node.js vs. JavaScript differences? Let’s take an in-depth look into the main characteristics and purposes of these two languages. In this article, we dive into the specifics of Java vs. Node.js to see their advan.. 2021. 5. 19.
Express 4.16.0 - Release date: 2017-09-28 Ref. stackoverflow.com/questions/24330014/bodyparser-is-deprecated-express-4 Use it like this: // Express v4.16.0 and higher // -------------------------- const express = require('express'); app.use(express.json()); app.use(express.urlencoded({ extended: true })); // For Express version less than 4.16.0 // ------------------------------------ const bodyParser = require('body-parser'); app.use(bo.. 2021. 5. 12.
JavaScript Standard Style Ref. standardjs.com/readme-en.html ** 이거 좋으다. JavaScript Standard Style English • Español (Latinoamérica) • Français • Bahasa Indonesia • Italiano (Italian) • 日本語 (Japanese) • 한국어 (Korean) • Português (Brasil) • 简体中文 (Simplified Chinese) • 繁體中文 (Taiwanese Mandarin) JavaScript style guide, linter, and formatter This module saves you (and others!) time in three ways: No configuration. The easiest .. 2021. 5. 12.
What are webhooks? Ref. developer.xero.com/documentation/webhooks/overview What are webhooks? Webhooks allow you to subscribe to certain events that happen in Xero. It’s limited to contact and invoice events for now. When one of these events are triggered we’ll send a HTTP POST payload to the webhook’s configured URL. Webhooks are configured on a per-app basis and we will send you events for every Xero organisatio.. 2021. 5. 12.
HMAC란? Ref. wan-blog.tistory.com/24 HMAC란? 해싱 기법을 적용하여 메시지의 위변조를 방지하는 기법을 HMAC (Hash-based Message Authentication) 이라고 한다. 좀더 상세히 설명하면 Sender와 Recipient는 서로 API를 주고 받아야한다. 그럴때 이메시지가 Sender 가보낸 메시지인지 인증을 해야한다. 뿐만 아니라 이 메시지가 변조가 되었는지 확인을 해야한다. 이러한 문제점을 해결하는것이 HMAC이다. Sender는 메시지를 보내기전에 공유된 Secret키와 메시지를 기반으로 해쉬값을 만든다. 그리고 이해쉬값을 헤더값에 포함하여 전달해준다. 그리고 Recipient는 그 받은 메시지를 기반으로 또 자신이 가지고있는 공유된 Secret를 이용하여 해.. 2021. 5. 12.
AWS Lambda function handler in Node.js Ref. docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html AWS Lambda function handler in Node.js - AWS Lambda AWS Lambda function handler in Node.js The Lambda function handler is the method in your function code that processes events. When your function is invoked, Lambda runs the handler method. When the handler exits or returns a response, it becomes available docs.aws.amazon.com The Lamb.. 2021. 5. 12.
How to SSH on Mac Ref. www.servermania.com/kb/articles/ssh-mac/ SSH or Secure SHell is an encrypted connection protocol which is used to connect to the command line interface of a remote machine. Mac OS features a built-in SSH client called Terminal which allows you to quickly and easily connect to a server. In this article, we'll outline how to SSH to a server using the Terminal program on OS X Mac. How SSH Work.. 2021. 4. 28.
OAuth 2.0에 대한 가장 간단한 가이드 Ref. ichi.pro/ko/oauth-2-0e-daehan-gajang-gandanhan-gaideu-154420140185019 정말 좋은 접근법입니다. 아래 글을 읽어보시면 좀 더 이해 쉽게 할 수 있습니다. 지난 3 년 동안 저는 기술적 인 배경이없는 사람들, 주로 Authlete, Inc. 의 공동 창립자 인 투자자들에게 OAuth 2.0을 설명했습니다 . (Tech In Asia : " API 보안 스타트 업 Authlete가 $ 1.2를 모금했습니다 m 종자 자금 " ). 그 결과 OAuth 2.0을 이해하기 쉽게 설명 할 수있는 방법을 찾았습니다. 이 기사에서는 단계를 소개합니다. 1. 사용자의 데이터가 있습니다. 2. 사용자의 데이터를 관리하는 서버가 있습니다. 서버를 "리소스 서버"라.. 2021. 4. 27.
스타트업에서 CTO의 역할 Ref. www.popit.kr/%EC%8A%A4%ED%83%80%ED%8A%B8%EC%97%85%EC%97%90%EC%84%9C-cto%EC%9D%98-%EC%97%AD%ED%95%A0/?_fr=dable&utm_source=dable 제가 쓴 글이 아닙니다. 저에게 도움이 되는 것 같아서 가져왔습니다. CTO (Chief Technical Officer) 란? CTO (Chief Technical Officer, 또는 Chief Technology Officer)는 우리말로 ‘최고기술책임자’라고 불리며 보통 회사 내에서 기술과 관련된 최종 의사결정을 내리는 역할을 말합니다. 일반적으로 기술팀을 관리하며 회사의 전략과 기술의 전략이 잘 어울리도록(aligment) 노력하는 일을 합니다. 그러나 CTO의.. 2021. 4. 27.
NOSQL DATA MODELING TECHNIQUES Ref. highlyscalable.wordpress.com/2012/03/01/nosql-data-modeling-techniques/#:~:text=NoSQL%20data%20modeling%20often%20starts,the%20structure%20of%20available%20data.&text=NoSQL%20data%20modeling%20is%20typically,of%20queries%20to%20be%20supported. 정말 괜찮은 블로그입니다. 데이터 사이언스에 관심있으신 분들 확인해 보세요. NoSQL databases are often compared by various non-functional criteria, such as scalability, performance, a.. 2021. 4. 22.