전체 글(864)
-
NestJS, typescript, Redis pub/sub for chatting
https://dev.to/codexam/scaling-real-time-communication-with-redis-pubsub-and-socketio-3p56 Scaling Real-Time Communication with Redis Pub/Sub and Socket.IOProblem Statement: In a scenario where multiple clients (users) need to communicate in...dev.to https://github.com/Subham-Maity/scalable_chat_app_nest GitHub - Subham-Maity/scalable_chat_app_nest: Scaling Real-Time Communication with Redis Pub..
2024.09.18 -
Nest.js, Typescript, React와 File Upload, MongoDB 연동
다음 블로그 내용을 참고하여 기본적인 MongoDB의 CRUD API를 추가했다. 좋은 레퍼런스.https://medium.com/globant/crud-application-using-nestjs-and-mongodb-99a0756adb76 CRUD application using NestJS and MongoDBIntroduction:medium.com docker-compose로 실행시킬때 백엔드에서 접속하거나, gitlab CI/CD 파이프라인에서 백엔드 도커 이미지로 접속을 하기 위해 환경설정 변수 MONGODB_URI를 사용하도록 수정한다.import { Module } from '@nestjs/common';import { ConfigModule, ConfigService } from '@n..
2024.06.08 -
Nest.js, ReactJS, Typescript로 풀스택 개발
오랜만에 Node.js로 풀스택 개발을 하게 되었는데, Nest.js를 백엔드로 ReactJS를 프론트엔드로 사용하기로 했다. 먼저 Nest.js 프로젝트를 생성한 다음, frontend라는 폴더를 만들고 거기에 ReactJS 프로젝트를 생성했다. 따라서, Nest.js 백엔드에서 빌드된 ReactJS의 파일을 보여주도록 app.module.ts를 수정했다.https://docs.nestjs.com/first-steps Documentation | NestJS - A progressive Node.js frameworkNest is a framework for building efficient, scalable Node.js server-side applications. It uses progressiv..
2024.06.07 -
구글 플레이 스토어의 앱 파일 사이즈 제한
구글 플레이 스토어에 앱을 등록하려니 200MB 사이즈 제한을 초과했다고 오류가 발생했다. (150MB 이상일 경우에는 Warning만 보임)줄일수 있는 이미지, 음악 리소스 파일을 삭제해서 용량을 줄임과 동시에 Gradle 옵션을 추가해서 빌드시 사용하지 않는 리소스를 삭제하도록 했다.android { // Other settings. buildTypes { getByName("release") { minifyEnabled = true shrinkResources = true proguardFiles(getDefaultProguardFile('proguard-android.txt'), "proguard-rules.pro"..
2024.04.26 -
Visual Studio Code에서 Python Formatter 사용
VS Code의 Extensions에서 "Black Formatter"를 설치한다. https://github.com/psf/black GitHub - psf/black: The uncompromising Python code formatter The uncompromising Python code formatter. Contribute to psf/black development by creating an account on GitHub. github.com VS Code 하단의 "{}" 영역을 클릭해서 Black Formatter를 켜준다. Ctrl + Shift + P 누른 다음, "Preferences : Open User Settings (JSON)" 선택하고 다음과 같이 formatter 옵션..
2024.02.28 -
WSL Ubuntu에 Python 설치
Ubuntu에 Python 버전이 여러개 설치 되어 있을 경우, 처리하는 방법 https://seongkyun.github.io/others/2019/05/09/ubuntu_python/ 우분투에서 파이썬 버전 변경하기 · Seongkyun Han's blog 또한 alternative는 python뿐만이 아니라 java와 같은 다양한 프로그램의 버전을 관리하는데 사용이 가능하다. seongkyun.github.io https://iohk.zendesk.com/hc/en-us/articles/16724475448473-Install-Python-3-11-on-ubuntu https://roeldowney.tistory.com/522 [Python] 우분투(Ubuntu)에서 pip & pip3 설치(ins..
2023.11.21