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...
.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)
)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-23 02:49

수정 내용:

  1. 채팅기능에 버그가 있는 것 같음-피드백 바람(undefined님이 나가셨습니다. -> 콘솔에 계속 출력됨)
  2. 로그에 IP 추가
  3. 로그에 시간 추가
  4. 시간 실시간 반영
  5. 게시글 수정 및 삭제 세션+권한 연동/DB수정
  6. 버그 수정
  7. 게시글 조회수 구현
  8. 프로필 수정 세션 연동
  9. etc