Showing
6 changed files
with
76 additions
and
53 deletions
... | @@ -29,28 +29,10 @@ | ... | @@ -29,28 +29,10 @@ |
29 | <!-- PROJECT LOGO --> | 29 | <!-- PROJECT LOGO --> |
30 | <br /> | 30 | <br /> |
31 | <div align="center"> | 31 | <div align="center"> |
32 | - <a href="https://github.com/othneildrew/Best-README-Template"> | 32 | + <h3 align="center">KartRider</h3> |
33 | - <img src="images/logo.png" alt="Logo" width="80" height="80"> | 33 | + <p align="center">전적 검색과 성향 테스트 결과에 따른 카트 추천</p> |
34 | - </a> | ||
35 | - | ||
36 | - <h3 align="center">Best-README-Template</h3> | ||
37 | - | ||
38 | - <p align="center"> | ||
39 | - An awesome README template to jumpstart your projects! | ||
40 | - <br /> | ||
41 | - <a href="https://github.com/othneildrew/Best-README-Template"><strong>Explore the docs »</strong></a> | ||
42 | - <br /> | ||
43 | - <br /> | ||
44 | - <a href="https://github.com/othneildrew/Best-README-Template">View Demo</a> | ||
45 | - · | ||
46 | - <a href="https://github.com/othneildrew/Best-README-Template/issues">Report Bug</a> | ||
47 | - · | ||
48 | - <a href="https://github.com/othneildrew/Best-README-Template/issues">Request Feature</a> | ||
49 | - </p> | ||
50 | </div> | 34 | </div> |
51 | 35 | ||
52 | - | ||
53 | - | ||
54 | <!-- TABLE OF CONTENTS --> | 36 | <!-- TABLE OF CONTENTS --> |
55 | <details> | 37 | <details> |
56 | <summary>Table of Contents</summary> | 38 | <summary>Table of Contents</summary> |
... | @@ -82,18 +64,19 @@ | ... | @@ -82,18 +64,19 @@ |
82 | <!-- ABOUT THE PROJECT --> | 64 | <!-- ABOUT THE PROJECT --> |
83 | ## About The Project | 65 | ## About The Project |
84 | 66 | ||
85 | -[![Product Name Screen Shot][product-screenshot]](https://example.com) | 67 | +[![Page][product-screenshot]](https://2019110627.osschatbot.ga:23023/) |
68 | + | ||
69 | +카트라이더는 넥슨에서 서비스 하는 레이싱 비디오 게임이다. 2004년 부터 서비스를 하고 있지만 lol과 다르게 전적 검색 사이트가 많이 존재하지 않는다. | ||
86 | 70 | ||
87 | -There are many great README templates available on GitHub; however, I didn't find one that really suited my needs so I created this enhanced one. I want to create a README template so amazing that it'll be the last one you ever need -- I think this is it. | 71 | +카트라이더의 홍보와 경쟁전(개인전)에서 전적이 궁금한 사람들을 위해 개발한 웹 서비스이다. |
88 | 72 | ||
89 | -Here's why: | 73 | +이 웹 사이트는 다음과 같은 서비스를 제공하고 있다. |
90 | -* Your time should be focused on creating something amazing. A project that solves a problem and helps others | 74 | +* 닉네임을 통한 전적 검색(개인전, 그랑프리, 개인 무한부스터에 대한 결과 제공) |
91 | -* You shouldn't be doing the same tasks over and over like creating a README from scratch | 75 | +* 7가지 질문을 통한 카트바디 추천 |
92 | -* You should implement DRY principles to the rest of your life :smile: | 76 | +* 그랑프리 랭킹 |
77 | +* 카이라이더 공지 사항 및 업데이트 | ||
93 | 78 | ||
94 | -Of course, no one template will serve all projects since your needs may be different. So I'll be adding more in the near future. You may also suggest changes by forking this repo and creating a pull request or opening an issue. Thanks to all the people have contributed to expanding this template! | ||
95 | 79 | ||
96 | -Use the `BLANK_README.md` to get started. | ||
97 | 80 | ||
98 | <p align="right">(<a href="#top">back to top</a>)</p> | 81 | <p align="right">(<a href="#top">back to top</a>)</p> |
99 | 82 | ||
... | @@ -101,15 +84,11 @@ Use the `BLANK_README.md` to get started. | ... | @@ -101,15 +84,11 @@ Use the `BLANK_README.md` to get started. |
101 | 84 | ||
102 | ### Built With | 85 | ### Built With |
103 | 86 | ||
104 | -This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples. | 87 | +List frameworks/libraries in my project. |
105 | 88 | ||
106 | -* [Next.js](https://nextjs.org/) | 89 | +* [Node.js](https://nodejs.org/) |
107 | -* [React.js](https://reactjs.org/) | 90 | +* [Express.js](https://expressjs.com/) |
108 | -* [Vue.js](https://vuejs.org/) | 91 | +* [Sweetalert2](https://sweetalert2.github.io/) |
109 | -* [Angular](https://angular.io/) | ||
110 | -* [Svelte](https://svelte.dev/) | ||
111 | -* [Laravel](https://laravel.com) | ||
112 | -* [Bootstrap](https://getbootstrap.com) | ||
113 | * [JQuery](https://jquery.com) | 92 | * [JQuery](https://jquery.com) |
114 | 93 | ||
115 | <p align="right">(<a href="#top">back to top</a>)</p> | 94 | <p align="right">(<a href="#top">back to top</a>)</p> |
... | @@ -132,20 +111,19 @@ This is an example of how to list things you need to use the software and how to | ... | @@ -132,20 +111,19 @@ This is an example of how to list things you need to use the software and how to |
132 | 111 | ||
133 | ### Installation | 112 | ### Installation |
134 | 113 | ||
135 | -_Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services._ | ||
136 | 114 | ||
137 | -1. Get a free API Key at [https://example.com](https://example.com) | 115 | +1. Get a free API Key at [https://developers.nexon.com/kart](https://developers.nexon.com/kart) |
138 | 2. Clone the repo | 116 | 2. Clone the repo |
139 | ```sh | 117 | ```sh |
140 | - git clone https://github.com/your_username_/Project-Name.git | 118 | + git clone http://khuhub.khu.ac.kr/2019110627/kartrider.git |
141 | ``` | 119 | ``` |
142 | 3. Install NPM packages | 120 | 3. Install NPM packages |
143 | ```sh | 121 | ```sh |
144 | - npm install | 122 | + npm install |
145 | ``` | 123 | ``` |
146 | -4. Enter your API in `config.js` | 124 | +4. Enter your API in `search.js` |
147 | ```js | 125 | ```js |
148 | - const API_KEY = 'ENTER YOUR API'; | 126 | + const key = 'ENTER YOUR API'; |
149 | ``` | 127 | ``` |
150 | 128 | ||
151 | <p align="right">(<a href="#top">back to top</a>)</p> | 129 | <p align="right">(<a href="#top">back to top</a>)</p> |
... | @@ -155,10 +133,50 @@ _Below is an example of how you can instruct your audience on installing and set | ... | @@ -155,10 +133,50 @@ _Below is an example of how you can instruct your audience on installing and set |
155 | <!-- USAGE EXAMPLES --> | 133 | <!-- USAGE EXAMPLES --> |
156 | ## Usage | 134 | ## Usage |
157 | 135 | ||
158 | -Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources. | 136 | +main.js |
159 | - | 137 | + |
160 | -_For more examples, please refer to the [Documentation](https://example.com)_ | 138 | +``` JS |
161 | - | 139 | +/* AWS */ |
140 | +const fs = require('fs'); | ||
141 | +const path = require('path'); | ||
142 | +const HTTPS = require('https'); | ||
143 | +const domain = "DOMAIN"; | ||
144 | +const sslport = "SSLPORT"; | ||
145 | + | ||
146 | +try { | ||
147 | + const option = { | ||
148 | + ca: fs.readFileSync('/etc/letsencrypt/live/' + domain +'/fullchain.pem'), | ||
149 | + key: fs.readFileSync(path.resolve(process.cwd(), '/etc/letsencrypt/live/' + domain +'/privkey.pem'), 'utf8').toString(), | ||
150 | + cert: fs.readFileSync(path.resolve(process.cwd(), '/etc/letsencrypt/live/' + domain +'/cert.pem'), 'utf8').toString(), | ||
151 | + }; | ||
152 | + | ||
153 | + HTTPS.createServer(option, app).listen(sslport, () => { | ||
154 | + console.log(`[HTTPS] Server is started on port ${sslport}`); | ||
155 | + }); | ||
156 | + } catch (error) { | ||
157 | + console.log('[HTTPS] HTTPS 오류가 발생하였습니다. HTTPS 서버는 실행되지 않습니다.'); | ||
158 | + console.log(error); | ||
159 | + } | ||
160 | + | ||
161 | +/* local server | ||
162 | +app.listen("8080",function(req,res){ | ||
163 | + console.log('server listening at port no. 8080'); | ||
164 | +}); | ||
165 | +*/ | ||
166 | +``` | ||
167 | + | ||
168 | +HOME PAGE | ||
169 | +[![homepage][homepage]] | ||
170 | + | ||
171 | + | ||
172 | +TEST PAGE | ||
173 | +[![testpage][test]] | ||
174 | +[![resultpage][test_r]] | ||
175 | + | ||
176 | + | ||
177 | +SEARCH PAGE | ||
178 | +[![testpage][search]] | ||
179 | +[![resultpage][search_r]] | ||
162 | <p align="right">(<a href="#top">back to top</a>)</p> | 180 | <p align="right">(<a href="#top">back to top</a>)</p> |
163 | 181 | ||
164 | 182 | ||
... | @@ -166,7 +184,6 @@ _For more examples, please refer to the [Documentation](https://example.com)_ | ... | @@ -166,7 +184,6 @@ _For more examples, please refer to the [Documentation](https://example.com)_ |
166 | <!-- ROADMAP --> | 184 | <!-- ROADMAP --> |
167 | ## Roadmap | 185 | ## Roadmap |
168 | 186 | ||
169 | -- [x] Add Changelog | ||
170 | - [x] Add back to top links | 187 | - [x] Add back to top links |
171 | - [ ] Add Additional Templates w/ Examples | 188 | - [ ] Add Additional Templates w/ Examples |
172 | - [ ] Add "components" document to easily copy & paste sections of the readme | 189 | - [ ] Add "components" document to easily copy & paste sections of the readme |
... | @@ -189,9 +206,9 @@ If you have a suggestion that would make this better, please fork the repo and c | ... | @@ -189,9 +206,9 @@ If you have a suggestion that would make this better, please fork the repo and c |
189 | Don't forget to give the project a star! Thanks again! | 206 | Don't forget to give the project a star! Thanks again! |
190 | 207 | ||
191 | 1. Fork the Project | 208 | 1. Fork the Project |
192 | -2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) | 209 | +2. Create your Feature Branch |
193 | -3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) | 210 | +3. Commit your Changes |
194 | -4. Push to the Branch (`git push origin feature/AmazingFeature`) | 211 | +4. Push to the Branch |
195 | 5. Open a Pull Request | 212 | 5. Open a Pull Request |
196 | 213 | ||
197 | <p align="right">(<a href="#top">back to top</a>)</p> | 214 | <p align="right">(<a href="#top">back to top</a>)</p> |
... | @@ -210,9 +227,9 @@ Distributed under the MIT License. See `LICENSE.txt` for more information. | ... | @@ -210,9 +227,9 @@ Distributed under the MIT License. See `LICENSE.txt` for more information. |
210 | <!-- CONTACT --> | 227 | <!-- CONTACT --> |
211 | ## Contact | 228 | ## Contact |
212 | 229 | ||
213 | -Your Name - [@your_twitter](https://twitter.com/your_username) - email@example.com | 230 | +김명주 - [@naver_blog](https://blog.naver.com/mjoo1106) - mjoo1106@naver.com |
214 | 231 | ||
215 | -Project Link: [https://github.com/your_username/repo_name](https://github.com/your_username/repo_name) | 232 | +Project Link: [http://khuhub.khu.ac.kr/2019110627/kartrider](http://khuhub.khu.ac.kr/2019110627/kartrider) |
216 | 233 | ||
217 | <p align="right">(<a href="#top">back to top</a>)</p> | 234 | <p align="right">(<a href="#top">back to top</a>)</p> |
218 | 235 | ||
... | @@ -250,4 +267,10 @@ Use this space to list resources you find helpful and would like to give credit | ... | @@ -250,4 +267,10 @@ Use this space to list resources you find helpful and would like to give credit |
250 | [license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt | 267 | [license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt |
251 | [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 | 268 | [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 |
252 | [linkedin-url]: https://linkedin.com/in/othneildrew | 269 | [linkedin-url]: https://linkedin.com/in/othneildrew |
253 | -[product-screenshot]: images/screenshot.png | 270 | +[product-screenshot]: images/kart.png |
271 | +[homepage]:images/homepage.png | ||
272 | +[search]:images/search.png | ||
273 | +[search_r]:images/search_r.png | ||
274 | +[test]:images/test.png | ||
275 | +[test_r]:images/test_r.png | ||
276 | + | ... | ... |
images/kart.png
0 → 100644

233 KB
images/search.png
0 → 100644

303 KB
images/search_r.png
0 → 100644

607 KB
images/test.png
0 → 100644

196 KB
images/test_r.png
0 → 100644

174 KB
-
Please register or login to post a comment