README.md 7.88 KB

Contributors Forks Stargazers Issues MIT License LinkedIn


KartRider

전적 검색과 성향 테스트 결과에 따른 카트 추천

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Page

카트라이더는 넥슨에서 서비스 하는 레이싱 비디오 게임이다. 2004년 부터 서비스를 하고 있지만 lol과 다르게 전적 검색 사이트가 많이 존재하지 않는다.

카트라이더의 홍보와 경쟁전(개인전)에서 전적이 궁금한 사람들을 위해 개발한 웹 서비스이다.

이 웹 사이트는 다음과 같은 서비스를 제공하고 있다.

  • 닉네임을 통한 전적 검색(개인전, 그랑프리, 개인 무한부스터에 대한 결과 제공)
  • 7가지 질문을 통한 카트바디 추천
  • 그랑프리 랭킹
  • 카이라이더 공지 사항 및 업데이트

(back to top)

Built With

List frameworks/libraries in my project.

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm sh npm install npm@latest -g

Installation

  1. Get a free API Key at https://developers.nexon.com/kart
  2. Clone the repo sh git clone http://khuhub.khu.ac.kr/2019110627/kartrider.git
  3. Install NPM packages sh npm install
  4. Enter your API in search.js js //require("dotenv").config({path: ".env"}); const key = 'ENTER YOUR API';

(back to top)

Usage

main.js

/* AWS */
const fs = require('fs');
const path = require('path');
const HTTPS = require('https');
const domain = "DOMAIN";
const sslport = "SSLPORT";

try {
    const option = {
      ca: fs.readFileSync('/etc/letsencrypt/live/' + domain +'/fullchain.pem'),
      key: fs.readFileSync(path.resolve(process.cwd(), '/etc/letsencrypt/live/' + domain +'/privkey.pem'), 'utf8').toString(),
      cert: fs.readFileSync(path.resolve(process.cwd(), '/etc/letsencrypt/live/' + domain +'/cert.pem'), 'utf8').toString(),
    };

    HTTPS.createServer(option, app).listen(sslport, () => {
      console.log(`[HTTPS] Server is started on port ${sslport}`);
    });
  } catch (error) {
    console.log('[HTTPS] HTTPS 오류가 발생하였습니다. HTTPS 서버는 실행되지 않습니다.');
    console.log(error);
  }

/* local server
app.listen("8080",function(req,res){
    console.log('server listening at port no. 8080');
});
*/

HOME PAGE

homepage

TEST PAGE

testpage
resultpage

SEARCH PAGE

testpage
resultpage

(back to top)

Roadmap

  • Add back to top links
  • Add AWS version
  • Add Home page
  • Add Additional Templates
  • Add "components" document to easily copy & paste sections of the readme
  • Multi-language Support
    • Korean
    • Chinese
    • Spanish

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

(back to top)

License

METADATA : It's owned by Nexon(Kartrider)

(back to top)

Contact

김명주 - @naver_blog - mjoo1106@naver.com

Project Link: http://khuhub.khu.ac.kr/2019110627/kartrider

(back to top)

Acknowledgments

(back to top)