분류 전체보기(864)
-
Apollo Server와 Express를 이용한 GraphQL 구현
1. 가장 도움이 되는 예제 https://jason9319.tistory.com/411 Express와 Apollo server를 이용한 GraphQL API 만들기 지난번에 [Express.js/Node.js] Express framework를 이용한 REST API 서버 만들기 에서 Express 프레임워크를 이용하여 REST API서버를 만들어 보았다. 이번에는 Express 프레임워크와 Apollo Server를 이용해서.. jason9319.tistory.com 2. async, await를 이용한 start 함수 작성 및 실행 async function startApolloServer(typeDefs, resolvers){ const server = new ApolloServer({typeD..
2022.03.07 -
Swift의 TextView에서 toolbar를 이용한 버튼 처리
TextView에서 키보드가 활성화된 상태에서, 같은 상위 뷰에 속해있는 버튼들이 처리되지 않음. 그래서 키보드가 활성화되었을때에는 다음과 같이 툴바를 사용하는 방법으로 다른 버튼들의 기능을 처리하였음 https://stevenpcurtis.medium.com/enabling-the-done-button-to-a-uitextview-967499f392ed Enabling the done button to a UITextView Are you sure that you want to do that? stevenpcurtis.medium.com https://dongkyprogramming.tistory.com/10 iOS Keyboard 상단에 Done(완료) 버튼 추가하기 이번 포스팅은 iOS에서 retu..
2022.02.28 -
logstash의 MongoDB output 처리
MongoDB output용 플러그인 설치하면 된다. https://pablo-ezequiel.medium.com/logstash-to-mongodb-38726def6270 Logstash to MongoDB I would like to send data from a CSV to a collection in MongoDB (mlab cloud) pablo-ezequiel.medium.com 그런데, 에러가 발생하여 다음과 같이 조치가 필요했다. /usr/share/logstash/bin/logstash-plugin install --version=3.1.5 logstash-output-mongodb https://github.com/logstash-plugins/logstash-output-mongodb..
2022.02.14 -
Swift에서 ViewController를 닫고 다른 ViewController를 실행
유용한 팁인데 늘 까먹는다. guard let pvc = self.presentingViewController else { return } self.dismiss(animated: true) { pvc.present(SecondViewController(), animated: true, completion: nil) } https://developer-fury.tistory.com/56 [Swift] dismiss 한 뒤 바로 present 하는 방법 안녕하세요 :] 간혹 개발을 하다 보면 현재 화면을 닫음과 동시에 다른 화면을 열어야 하는 경우가 생기더라고요. 그 경우도 여러 가지 케이스가 있는데 제가 경험한 케이스를 공유해보도록 하 developer-fury.tistory.com
2022.02.10 -
Swift용 Carousel View
개인적으로는 이렇게 잘 만든 소스를 보는 것은 늘 기분 좋은 일이다. https://medium.com/swlh/swift-carousel-759800aa2952 Carousel View in Swift Create your own custom carousel view for onboarding flows medium.com https://github.com/blorenzo10/carousel GitHub - blorenzo10/carousel: Simple and flexible customizable carousel onboarding Simple and flexible customizable carousel onboarding - GitHub - blorenzo10/carousel: Simple a..
2022.02.10 -
Node.js Express에서 GraphQL 구현
1. PostgreSQL과 연동하는 GraphQL 구현 https://blog.harveydelaney.com/setting-up-graphql-express-and-postgresql/ Setting up GraphQL, Node/Express and PostgreSQL An article showing you how to quickly get your back-end project started with GraphQL, Node/Express and PostgreSQL. blog.harveydelaney.com 다 좋은데 오래된 예제라 다음 두가지 수정이 필요하다. (1) inside your schema.js as you create Object Type for String as fields: { ..
2022.02.07