This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const readline = require("readline"); | |
class Converter { | |
static NUMBER_CHART = { | |
"": 0, | |
일: 1, | |
이: 2, | |
삼: 3, | |
사: 4, | |
오: 5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const readline = require("readline"); | |
const r = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
class Converter { | |
static ARGS_SIZE = 2; | |
static NUMBER_CHART = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const querystring = require("querystring"); | |
| |
const AWS = require("aws-sdk"); | |
const S3 = new AWS.S3({ | |
region: "<your region name>" | |
}); | |
const Sharp = require("sharp"); | |
| |
const BUCKET = "<your bucket name>"; | |
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require("express"); | |
var graphqlHTTP = require("express-graphql"); | |
var Graphql = require("graphql"); | |
var fakeDatabase = require("./fakedata.js"); | |
const geoType = new Graphql.GraphQLObjectType({ // Object 타입을 정의합니다. | |
name: "geo", | |
fields: { | |
lat: { type: Graphql.GraphQLFloat }, | |
lng: { type: Graphql.GraphQLFloat } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
user(id: 1) { | |
id | |
name | |
username | |
address { | |
street | |
suite | |
city | |
zipcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fakeDatabase = | |
[ | |
{ | |
"id": 1, | |
"name": "Leanne Graham", | |
"username": "Bret", | |
"email": "Sincere@april.biz", | |
"address": { | |
"street": "Kulas Light", | |
"suite": "Apt. 556", |