-
사용자는 게시글을 올릴 수 있다.
-
게시글 : 제목, 본문
-
제목은 최대 20자 , 본문 200자 서버에서제한
-
제목과 본문 모두 이모지가 포함될 수 있음
-
-
게시글을 올릴 때 비밀번호를 설정 할 수 있음
-
회원가입, 로그인 없이 비밀번호만 일치하면 수정,삭제 가능
-
암호화된 형태로 저장
-
비밀번호는 6자 이상 , 숫자 1개이상
-
-
한페이지 안에서 모든 게시글을 최신 글 순서로 확인 할 수 잇음
-
외부 API 를 활용하여, 사용자가 게시글을 업로드한 시점의 날씨 (예: 맑음, 흐림, 소나기, 눈등) 정보가 게시글에 포함
- 외부 API 는 자유롭게 선택해주시면 되지만, https://www.weatherapi.com 가입 후 Real-time Weather API 사용하시는 것을 추천.
- 발급 받으신 API Key 는 전달해주지 않으셔도 됩니다.
- 게시글 작성 시 자동으로 데이터베이스에 추가되고, 수정은 불가하도록 합니다
- express
- DBMS는 mysql, sqlite중 하나를 사용한다.
- ORM 사용하면 가산점
- express, mysql, ORM(type-orm)
- 일정 준수
- REST API 서버 기본 구현 능력
- 관계형 데이터 베이스 활용 능력
- API 정상 동작 여부
- 정확한 예외처리
- Node.js 기본 특성 이해 및 활용 능력
- 선택한 프레임워크에 대한 이해 및 활용 능력
- 이모지 저장을 위해 데이터베이스 charset을 'utf8mb4' 설정 해 준다.
- 게시판 작성 : 작성 시 현재날씨 정보 포함, 입력한 비밀번호 암호화해서 저장 : 제목 (20자이내) , 본문 (200자 이내) , 이모지 저장 가능하게
- 게시판 수정 : 게시글 작성시 입력한 비밀번호와 입력한 비밀번호 비교 후 수정
- 게시판 삭제 : 게시글 작성시 입력한 비밀번호와 입력한 비밀번호 비교 후 삭제
- 리스트 조회 : 최신 게시글 순으로 리스트 조회
- 날씨 : https://www.weatherapi.com/ => API 키 발급 요망
- 현재 위치 : https://extreme-ip-lookup.com/json