Name Last Update
assets Loading commit data...
css Loading commit data...
db Loading commit data...
js Loading commit data...
node_modules Loading commit data...
public Loading commit data...
router Loading commit data...
views Loading commit data...
.DS_Store Loading commit data...
.gitattributes Loading commit data...
app.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
readme.md Loading commit data...

Singer-Composer Matching Website Project


사용 DB 정보

{
    host: 'localhost',
    port : 3306,
    user: 'root',
    password : '',
    database : 'singer_composer'
}

sql 사용 파일

router/login/index.js
router/register/index.js
router/board/index.js
router/profile.index.js


Database 명세

Database = singer_composer

create table userdb(
    ID varchar(20) not null primary key,
    password varchar(20) not null,
    type varchar(10) not null,
    nickname varchar(20) not null,
    profilemsg varchar(300)
    profilepic varchar(300) unique
)engine=innodb;

create table board(
    idx int not null primary key auto_increment,
    nickname varchar(50) not null,
    title varchar(50) not null,
    content mediumtext not null,
    regdate datetime not null,
    modidate datetime not null,
    hit int not null,
    ID varchar(20) not null
)engine=innodb;

주의 및 안내사항

  • type이 운영자인 경우 서버에서 변경
  • LF 오류시 Git에 하단 명령어 입력

    git config --global core.autocrlf true

  • 게시글 reset 후 idx의 값이 1부터 시작하지 않을 경우 하단의 SQL문 입력

    ALTER TABLE board AUTO_INCREMENT = 1;
    SET @COUNT = 0;
    UPDATE board SET idx = @COUNT:=@COUNT+1;


최종 수정: 2021-11-25 18:48

수정 내용:

  1. 사용자-서버 채팅간 여백
  2. 채팅 엔터키
  3. 채팅 구현
  4. 시간 실시간 반영
  5. 프로필 사진 추가
  6. 프로필 검색 추가
  7. 프로필 비주얼 업데이트
  8. 채팅(socket) 사용 중 서버 재시작 시 서버 오류 해결
  9. 코드 다듬음
  10. 버그 수정