본문 바로가기

728x90
반응형

분류 전체보기

24.01.26 모의 기술 면접 피드백 정리 오늘은 1 대 1 모의 기술 면접을 봤다 정리한 내용과 피드백을 정리해 봤다 https://oasis-moonstone-a81.notion.site/2024-01-26-React-3-ed7a11456800426c924db8a8bba5abd3?pvs=4 2024.01.26 [React 3기] 최종프로젝트 기술 면접 질문 리스트 | Notion supabase를 사용하는 이유에 대해 말씀해주세요. oasis-moonstone-a81.notion.site 원래는 각각의 개념마다 댓글도 달아놔서 나무위키처럼 정보를 많이 정리해놨는데 편집 때만 보이는 기능이었나 봐 막상 팀원들한테 공유하니 다 사라져 버렸다. 모의 기술 면접 피드백 정리 -Props drilling 을 설명해 주세요 - 프랍스 드릴링 의 개념 좀.. 더보기
24.01.25 이미지 업로드 대참사 (수파베이스) 현재 로그인한 유저정보는 useSelector를 통해 가져오고 해당유저의 uid를 fillter로 사용해 해당 유저가 만든 게시글만 불러오고 있다 import styled from 'styled-components'; import { useSelector } from 'react-redux'; import { useEffect, useState } from 'react'; import { supabase } from 'types/supabase'; import { RootState } from 'redux/config/configStore'; const MyCommunity = () => { const [posts, setPosts] = useState([]); const user = useSelecto.. 더보기
24.01.24 수파베이스 유저 비밀번호 변경 오늘도 프로젝트를 여전히 진행 중입니다 구글에 supabase update user password라고 검색하니 바로 스택 오버플로우 검색 결과가 나와 공식 doc과 함께 참고해서 만들었습니다 https://stackoverflow.com/questions/71561522/how-to-update-the-password-of-a-supabase-user-on-a-nextjs-project/71948292#71948292?newreg=87301c7d3fcc4fe380ff42e93f8571de How to update the password of a Supabase user on a NextJs project? I'm facing an issue updating a password for a supabase.. 더보기
24.01.23 수파베이스 스토리지 안쓰고 이미지 업로드 추가 기능 구현 중에 있습니다 간단한 닉네임 중복검사 const checkNickname = async (nickname: string) => { // 닉네임 중복 검사 (userinfo테이블 기준입니다 /mypage에서 닉네임 변경할때도 userinfo만 변경됩니다) const { data, error } = await supabase .from('userinfo') .select('nickname') .eq('nickname', nickname); if (error) { console.log('닉네임 중복 검사 에러'); return; } return data.length > 0; //닉네임 중복이 맞다면 true를 뱉어냄 }; 수파베이스 유저정보를 모아둔 테이블에서 중복되는 닉네임이 있다면 ture.. 더보기
24.01.22 최종 프로젝트 중간발표 어느새 시간은 흘러 벌써 중간발표하는 날까지 다가왔습니다 원래는 노션만 보고 발표하려고 했지만 앞선 발표 들을 보고 안되겠다 싶어 후다닥 만든 PPT ppt 화면 보여주는 사이트 검색하니 캔바라는 사이트가 있어서 후딱 만들었습니다 https://www.canva.com/ko_kr/presentations/ https://www.cloudcraft.co/ Cloudcraft – Draw AWS diagrams Visualize your AWS environment as isometric architecture diagrams. Snap together blocks for EC2s, ELBs, RDS and more. Connect your live AWS environment. www.cloudcraft... 더보기
24.01.21 대표사진 삭제 지금보니까 상단 네브바에 프로필 이미지를 넣어 줘야 하나 고민이네요 본래 디자인에 맞춰진 mypage입니다 이제 프로필 이미지도 불러와지고 얼추 구색은 갖췄는데 아직도 몇가지 기능이 부족한 상태입니다 1,프로필 이미지 업로드 2, 비밀번호 변경 (여기서 수파베이스 인증 부분을 건드려야하는데 어떤 방식으로 나가야할지 막막....) 더보기
24.01.20 회원 가입시에 유효성 검사가 많이 없어 추가로 몇가지 구현했습니다 import React, { useState } from 'react'; import { supabase } from 'shared/supabase'; import { Link, useNavigate } from 'react-router-dom'; import { StyledSignup, StyledForm, StyledInput, StyledButton, StyledH1, StyledLabel } from './styles'; interface FormData { email: string; password: string; displayName: string; } const isValidConfirmPassword = (password: .. 더보기
24.01.19 수파베이스 테이블 정보 업데이트 유저 정보 불러오는 건 성공했으니 이제 유저 정보를 수정할 차례입니다 https://supabase.com/dashboard/project/zypmvkiqnuatkkktbmrr/api?resource=userinfo API | Supabase supabase.com https://supabase.com/docs/reference/javascript/upsert Upsert data | Supabase Perform an UPSERT on the table or view. Depending on the column(s) passed to onConflict, .upsert() allows you to perform the equivalent of .insert() if a row with the corre.. 더보기

728x90
반응형