GameLog는 콘솔 및 PC 게임 평가 및 추천 어플리케이션 시스템 입니다.
- GameLog Install (#GameLog-Install)
1.1 init server install
1.2 IGDB auth
1.3 config file generate
1.4 json file
1.5 IGDB game save
1.6 server
2. GameLog user
2.1 Signup
2.2 Signup select category
2.3 Signup Validation
2.4 User Login
2.5 User Logout
2.6 Modify User Profile Image
3. GameLog Tabbar
3.1 Home
3.2 Library
3.3 Wishlist
3.4 Search
npm -i installhttps://api-docs.igdb.com/#about 사이트 참조. twitch application 등록 및 인증
IGDB 인증 후 IGDB config 파일 형식에 맞춰서 저장
/config/IGDBconfig.json 파일 생성
mkdif config
cd config
vi IGDBconfig.json{
"IGDB": {
"Accept": "application/json",
"Client_ID": "YOUR_Client_ID",
"Authorization": "Bearer YOUR_AUTHORIZATION"
},
"IDAndSecret": {
"clinet_id":"YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"grant_type": "client_credentials"
}
}cd models/util
node initSaveDB.jsnode main.js추천 게임을 위한 카테고리별 랜덤 데이터 저장 1.5의 IGDB game save 후 실행 추천!
cd models/util
node scriptRecommand.js