본문 바로가기

룰루랄라 코딩기록장

검색하기
룰루랄라 코딩기록장
프로필사진 Jeonnnng

  • 분류 전체보기 (49)
    • LikeLion (6)
      • Djaongo (6)
    • Algorithm (40)
      • 브루트포스 (10)
      • 그래프 (12)
      • 다이나믹프로그래밍 (18)
    • React (0)
      • 기본설정 (0)
    • YAMPLI (3)
    • 기타 (0)
Guestbook
Recent Posts
Tags
  • 백준
  • 섬의개수
  • BFS
  • 브루트포스
  • 멋쟁이사자처럼
  • 알고리즘
  • Python
  • 연결요소의 개수
  • promisify
  • 경로탐색
  • 그래프
  • 다이나믹프로그래밍
  • 날짜계산
  • 장고
  • express
  • 미로찾기
  • 문제풀이
  • 연산자끼워넣기
  • Redis
  • wordcount
  • Server
  • 가상환경
  • 이분그래프
  • HelloWorld
  • MongoDB
  • 외판원순회2
  • nodemailer.js
  • Django
  • likelion
  • 재귀함수
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록MongoDB (1)

룰루랄라 코딩기록장

테이블 설계

요구사항공통 데이터 무결성 유지를 위한 미들웨어 추가.SchemaUser// user.js const userSchema = mongoose.Schema({ email: { type: String, required: true, lowercase: true, unique: true }, password: { type: String, required: true }, nickname: { type: String, minLength: 1, maxLength: 100, required: true }, kakaoId: { type: String, required: true, unique: true }, createdAt: { type: Date, default: Date.now }, // 작성 시간을 저장하는 필드..

YAMPLI 2023. 12. 8. 16:59
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바