분류 전체보기(864)
-
React 관련 레퍼런스
react-cookie는 기본 매뉴얼이 가장 보기 좋다. 종종 기본 매뉴얼이 개발자들에 의해서 작성된 레퍼런스보다 보기 편하고 이해가 빠른 경우가 있는데, react-cookie도 그에 해당한다. www.npmjs.com/package/react-cookie react-cookie Universal cookies for React www.npmjs.com How to Add to an Array in React State using Hooks 이번에는 setState 대신 useState를 이용하는 방식으로 작업 중이다. medium.com/javascript-in-plain-english/how-to-add-to-an-array-in-react-state-3d08ddb2e1dc How to Add to..
2020.09.20 -
React App 개발 레퍼런스
reactrouter.com/web/guides/quick-start React Router: Declarative Routing for React Learn once, Route Anywhere reactrouter.com reactstrap.github.io/ reactstrap - React Bootstrap 4 components Installation NPM Install reactstrap and peer dependencies via NPM npm install --save reactstrap react react-dom Import the components you need Danger! import React from 'react'; import { Button } from 'reacts..
2020.09.13 -
Ubuntu 상에서 Python3 Flask, uWSGI 및 NginX 연동
1. Python3 설치 2. uWSGI 설치 및 세팅 3. NginX 설치 및 세팅 https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04 How To Serve Flask Applications with uWSGI and Nginx on Ubuntu | DigitalOcean In this guide, we will be setting up a simple Python application using the Flask microframework on Ubuntu 18.04. The bulk of this article will be about ho..
2020.09.10 -
Ubuntu 상에서 React App을 NginX로 배포하기
1. EC2 접속 2. Node.js 및 Nginx 설치 3. ReactJs 프로젝트 git pull & build 4. NginX 설정 변경 및 적용 https://dev.to/xarala221/the-easiest-way-to-deploy-a-react-web-application-2l8a How To Deploy a React app using Nginx and Ubuntu 18.04 How you can deploy ReactJs application using NGINX dev.to
2020.09.09 -
Swift 개발 팁
커스텀 클래스 객체 파일 입출력 기본이 되는 중요한 기능 중에 하나인데 이렇게 쓸만한 레퍼런스가 없음에 놀랍다. // Save object in document directory func saveObject(fileName: String, object: Any) -> Bool { let filePath = self.getDirectoryPath().appendingPathComponent(fileName)//1 do { let data = try NSKeyedArchiver.archivedData(withRootObject: object, requiringSecureCoding: false)//2 try data.write(to: filePath)//3 return true } catch { print(..
2020.08.31 -
Elasticsearch를 이용한 검색 기능 구현
Python 연동 https://sleep4725.tistory.com/entry/python-elasticsearch-%EC%A1%B0%ED%9A%8C%EC%82%BD%EC%9E%85%EC%83%9D%EC%84%B1#recentComments python + elasticsearch + 조회/삽입/생성 from elasticsearch import Elasticsearch import pprint as ppr import json class ElaAPI: es = Elasticsearch(hosts="192.168.240.129", port=9200) # 객체 생성 @classmethod def srvHealthCheck(cls): health.. sleep4725.tistory.com https://..
2020.08.21