본문 바로가기

Scripts

Create ReactNative + Typescript App project ]$ yarn global add create-react-native-app]$ create-react-native-app {{APP_NAME}} --scripts-version=react-native-scripts-tsReactJS 웹프로젝트 생성해주듯이 Native 용 프로그램인 create-react-native-app을 설치해준다. 이해 해당 cli를 이용하여 --scripts-version=react-native-scripts-ts 옵션을 줘서 프로젝트를 생성해준다.생성해준 후 기존 expo 환경에서의 개발이 편하다면 scripts들에 명령들을 생성해주어 기존 CRNA를 통해 작업했을 때와 동일하게 작업이 가능하다. "scripts": { "start": "expo start", "eject":.. 더보기
Package Setup GraphQL을 사용해보고자 여기저기 찾아보았음.사실 편하기는 Python Django가 편할것 같았지만, GraphQL을 사용하기에는 좋지 않아 보였음. 그래서 NodeJS를 사용하자 결정하였으며, Typescript가 개발자를 편하게 만들어 주는것 같아서이참에 한번 사용해보자 하는 마음으로 적용하게 됨. - Typescript + TypeORM + GraphQL Yoga + MySQL- InstallTypeScript ]$ yarn add typescript ts-node nodemon tslint-config-prettier --dev ]$ yarn add dotenv class-validator bcrypt GraphQL ]$ yarn add graphql-yoga graphql-tools mer.. 더보기
Codeigniter + Vue When you need to use Vue.js(Nuxt) on codeigniter, there is no default way on codeigniter.So I solve this problem with .htaccess file. The main concept is just share one root folder.And basically, this concept is for separate frontend and backend. Codigniter for Backend. Vue.js for Frontend. Like this.Project |- application |- frontend (Vuejs) |- system |- web |- index.php |- composer.json |- pac.. 더보기