
NextJS) NextAuth 로그인 인증 (login authentication)
2023. 2. 13. 16:58
Frontend/HTML, CSS, DOM, jQuery
주소 NextAuth.js Authentication for Next.js next-auth.js.org 특징 인증을 위한 nextJS 도구 자동으로 제공 장& 단점 prisma, 커스텀마이징 어려움 데이터베이스 없이 사용 가능 누가 로그인 했는지 식별 불가능 사용하기 쉬움 사용법 셋팅 provider 사용 밑에만 넣으면 애플 로그인이 생김 prisma 데이터베이스에 넣고 싶으면, 복붙하면서 이름과 형식을 따라야 한다 이름이 틀리면 작동 안된다. 셋업 스키마 변경
NextJS)페이지(router)가 변할때 이벤트 주기
2023. 2. 13. 00:24
Frontend/React & React.Native &Next.js
NextJS)에서 beforeunload 같은 기능 useEffect(()=>{ 이벤트 },[, router])

ReactJS) IPFS img, image render, 읽기
2023. 1. 27. 20:52
Frontend/React & React.Native &Next.js
데이터 예시 해결 data.image.includes("https://ipfs.io/ipfs/") ? 참고 #8. IPFS(InterPlanetary File System)이해하기 1부 : HTTP Web을 넘어서, IPFS Web으로 1 | 인터넷(Internet)과 웹(Web) medium.com

typescript) path 변환, rute 짧게 변환 '@' 로
2023. 1. 27. 18:24
Frontend/HTML, CSS, DOM, jQuery
tsconfig.json 추가할 코드 "baseUrl":".", "paths":{ "@libs/*":["libs/*"], "@components/*":["components/*"] } 바꾸기 기능을 이용