์ „์ฒด ๊ธ€ 395

[KakaoAPI] [2/2]์นด์นด์˜คํ†ก ๋ฉ”์‹œ์ง€ ์ „์†กAPI ์ด์šฉํ•˜๊ธฐ

ํ˜น์‹œ ์ด ๊ธ€์„ ๋จผ์ € ๋ณด๊ฒŒ๋˜์—ˆ๋‹ค๋ฉด[1/2]์นด์นด์˜คํ†ก ๋ฉ”์‹œ์ง€ ์ „์†กAPI ์ด์šฉํ•˜๊ธฐ๋ฅผ ๋จผ์ €๋ณด๊ณ  ์นด์นด์˜ค๊ฐœ๋ฐœ์ž์„ผํ„ฐ ํŽ˜์ด์ง€์—์„œ์ธ๊ฐ€์ฝ”๋“œ๋ฐ›๊ธฐAPI์‚ฌ์šฉ์„ ์œ„ํ•œ ์‚ฌ์ „์„ค์ •์„ ๋งˆ์น˜๊ณ  ์˜ค๊ธธ ๋ฐ”๋ž€๋‹ค์นด์นด์˜คํ†ก ๋ฉ”์‹œ์ง€์ „์†กAPI ์‚ฌ์šฉ์„ ์œ„ํ•œ ๋‹จ๊ณ„๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค1.์ธ๊ฐ€์ฝ”๋“œ๋ฐ›๊ธฐ2.ํ† ํฐ๋ฐ›๊ธฐ3.๋ฉ”์‹œ์ง€ ์ „์†ก ์š”์ฒญํ•˜๊ธฐ์นด์นด์˜ค ๊ฐœ๋ฐœ์ž ์„ผํ„ฐURL : https://developers.kakao.com/console/app[ 1. ์ธ๊ฐ€์ฝ”๋“œ๋ฐ›๊ธฐ ]API๊ณต์‹๋ฌธ์„œhttps://developers.kakao.com/docs/latest/ko/kakaologin/rest-api#request-codeAPI URLhttps://kauth.kakao.com/oauth/authorizeHTTP methodGETRequestParamclient_id์นด์นด์˜ค ๊ฐœ๋ฐœ์ž์„ผํ„ฐ > ๋‚ด..

API/KakaoAPI 2024.11.28

[KakaoAPI] [1/2]์นด์นด์˜คํ†ก ๋ฉ”์‹œ์ง€ ์ „์†กAPI ์ด์šฉํ•˜๊ธฐ

์ด ๊ธ€์„ ์ž‘์„ฑํ•˜๊ฒŒ ๋œ ์ด์œ ๋Š” ๊ณต์‹๋ฌธ์„œ๋ฅผ ๋ณด๊ณ ์นด์นด์˜คํ†ก ๋ฉ”์„ธ์ง€ ์ „์†ก์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ๊ตฌํ˜„ํ•ด๋ณด๋ ค๊ณ  ํ–ˆ๋Š”๋ฐ๋„์ €ํžˆ ๋ฌธ์„œ๋งŒ ๋ด์„œ๋Š” ์ง„๋„๊ฐ€ ์ž˜์•ˆ๋‚˜๊ฐ”๊ธฐ๋•Œ๋ฌธ์— ์ž‘์„ฑํ•˜๊ฒŒ๋๋‹ค๋‚˜์™€ ๋น„์Šทํ•œ ์‚ฌ๋žŒ๋“ค์€ ์•„๋ž˜๊ณผ์ •์„ ๋”ฐ๋ผํ•˜๋ฉด ๋˜๊ณ ๋‚ด์šฉ์ด ๋„ˆ๋ฌด ๊ธธ์–ด์„œ ๊ธ€์„ 2๋ฒˆ์— ๋‚˜๋ˆ ์“ฐ๊ฒ ๋‹ค1๋ฒˆ์งธ ๊ธ€์€ API์‚ฌ์šฉ์„ ์œ„ํ•œ ๊ฐœ๋ฐœ์ž์„ผํ„ฐ์—์„œ ํ•ด์•ผํ•˜๋Š” ์‚ฌ์ „์„ค์ •์— ๋Œ€ํ•œ ์„ค๋ช…2๋ฒˆ์งธ ๊ธ€์€ ์‚ฌ์ „์„ค์ •์ด ์ •์ƒ์™„๋ฃŒ๋˜์—ˆ์„๋•Œ ์ง„ํ–‰ํ•˜๋Š” ๋ฉ”์‹œ์ง€์ „์†กAPI ํ˜ธ์ถœ ๊ณผ์ •์ด๋‹ค[ ์นด์นด์˜คํ†ก REST API๋ฅผ ์“ฐ๊ธฐ์œ„ํ•œ ๊ณผ์ • ]https://developers.kakao.com/docs/latest/ko/kakaologin/rest-api#req-user-info๊ฐ„๋‹จํ•˜๊ฒŒ ์œ„ ๊ทธ๋ฆผ์„ ์„ค๋ช…ํ•˜์ž๋ฉด์นด์นด์˜คAPI์‚ฌ์šฉ์„ ์œ„ํ•œ ๋‹จ๊ณ„๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค1. API์‚ฌ์šฉ์„ ์œ„ํ•ด์„œ๋Š” ์‚ฌ์šฉ์žtoken์ด ํ•„์š”ํ•˜๋‹ค2. ์‚ฌ์šฉ์žtoken์„..

API/KakaoAPI 2024.11.28

[Java] 14. ์ƒ์†(Intheritance)

[ ์ƒ์† ] -๊ฐ์ฒด์ง€ํ–ฅ์—์„œ ๊ฐ€์žฅ ์ค‘์š”ํ•œ๊ฒƒ์€ ์žฌํ™œ์šฉ์„ฑ์ธ๋ฐ์ƒ์†์€ ์žฌํ™œ์šฉ์„ฑ์„ ๊ทน๋Œ€ํ™”์‹œํ‚จ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ธฐ๋ฒ•์ด๋ผ๊ณ  ํ•  ์ˆ˜ ์žˆ๋‹ค์ƒ์†(Intheritance)์€ ๋ฌผ๋ ค์ค€๋‹ค๋Š” ์˜๋ฏธ์ด๋ฉฐ์–ด๋–ค๊ฐ์ฒด๊ฐ€ ์žˆ์„๋•Œ ๊ทธ ๊ฐ์ฒด์˜ ์†์„ฑ(๋ณ€์ˆ˜)์™€ ๋ฉ”์†Œ๋“œ๋ฅผ๋‹ค๋ฅธ ๊ฐ์ฒด๊ฐ€ ๋ฌผ๋ ค๋ฐ›์„ ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์„ ์ƒ์†์ด๋ผ๊ณ  ํ•œ๋‹ค// ์‚ฌ์ดํผ์˜ ๊ธฐ๋ณธ์†์„ฑ๊ณผ ๊ธฐ๋Šฅ์„ ์ •์˜ํ•œ ํด๋ž˜์Šคpublic class Cypher { String name; // ์‚ฌ์ดํผ ์ด๋ฆ„ int age; // ์‚ฌ์ดํผ ๋‚˜์ด String job; // ์‚ฌ์ดํผ ์ง์—… public Cypher() { } public Cypher(String name, int age, String job) { this.name = name; this.age = age; ..

JavaStudy/Basic 2024.11.27

[Java] 13. ํด๋ž˜์Šค์™€ ์ธ์Šคํ„ด์Šค

// ์‚ฌ์ดํผ๋ฅผ ์„ค๊ณ„ํ•˜๊ธฐ์œ„ํ•œ ํด๋ž˜์Šคclass Cypher { String name; // ์‚ฌ์ดํผ ์ด๋ฆ„ int age; // ์‚ฌ์ดํผ ๋‚˜์ด String job; // ์‚ฌ์ดํผ ์ง์—… public Cypher(){} public Cypher(String name, int age, String job) { this.name = name; this.age = age; this.job = job; System.out.println(this.name + " ์ƒ์„ฑ"); } public void setName(String name){ this.name = name; } public void setAge(int age..

JavaStudy/Basic 2024.11.27

[์•Œ๊ณ ๋ฆฌ์ฆ˜] ์•Œ๊ณ ๋ฆฌ์ฆ˜(Algorithm)?

[ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ]์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ์ˆ˜ํ•™๊ณผ ๊ณผํ•™์—์„œ ์‚ฌ์šฉ๋˜๋Š”๋ฌธ์ œ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์„ ์ •์˜ํ•œ '์ผ๋ จ์˜ ๋‹จ๊ณ„์  ์ ˆ์ฐจ'์ด์ž์–ด๋– ํ•œ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•œ '๋™์ž‘๋“ค์˜ ๋ชจ์ž„'์ด๋‹ค๊ณ„์‚ฐ์„ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ๋‹จ๊ณ„์  ๊ทœ์น™๊ณผ ์ ˆ์ฐจ๋ฅผ ์˜๋ฏธํ•˜๊ธฐ๋„ ํ•œ๋‹ค์ฆ‰, ๋ฌธ์ œํ’€์ด์— ํ•„์š”ํ•œ ๊ณ„์‚ฐ์ ˆ์ฐจ ๋˜๋Š” ์ฒ˜๋ฆฌ๊ณผ์ •์˜ ์ˆœ์„œ๋ฅผ ๋œปํ•œ๋‹ค.ํ”„๋กœ๊ทธ๋žจ๋ช…๋ น์–ด์˜ ์ง‘ํ•ฉ์„ ์˜๋ฏธํ•˜๊ธฐ๋„ ํ•œ๋‹ค์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ์—ฐ์‚ฐ, ๋ฐ์ดํ„ฐ ๋งˆ์ด๋‹(๊ธฐ๊ณ„ ํ•™์Šต) ๋˜๋Š” ์ž๋™ํ™”๋œ ์ถ”๋ก ์„ ์ˆ˜ํ–‰ํ•œ๋‹ค.์ •์ง€๋ฌธ์ œ์˜ ๊ฒฐ๊ณผ๋กœ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ๋ฉˆ์ถ”๊ธฐ๊นŒ์ง€ ๊ฑธ๋ฆฌ๋Š” ์‹œ๊ฐ„์„ ์ผ๋ฐ˜์ ์œผ๋กœ ์ธก์ •ํ•  ์ˆ˜ ์žˆ๋‹ค.[ ์ด๋ฆ„ ] ์‚ฐ๋ฒ•(็ฎ—ๆณ•), ์…ˆ๋ฒ•, ๊ณ„์‚ฐ์ ˆ์ฐจ(่จˆ็ฎ—็ฏ€ๆฌก)๋ผ๊ณ ๋„ ํ•œ๋‹ค. ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ 9์„ธ๊ธฐ ํŽ˜๋ฅด์‹œ์•„์˜ ์ˆ˜ํ•™์ž์ธ๋ฌดํ•จ๋งˆ๋“œ ์•Œ์ฝฐ๋ฆฌ์ฆˆ๋ฏธ์˜ ์ด๋ฆ„์„ ๋ผํ‹ด์–ดํ™”ํ•œ์•Œ๊ณ ๋ฆฌ์Šค๋ฌด์Šค(Algorismus)์—์„œ ์œ ๋ž˜ํ•œ ํ‘œํ˜„์ด๋‹ค. ์˜์–ด๋กœ Algorithm์˜ ๋ฐœ์Œ ๊ธฐํ˜ธ๋Š”/หˆælษกษ™หŒษนษชðษ™m..

[Vue.js] 1. Vue.js ํ”„๋กœ์ ํŠธ ์ƒ์„ฑํ•˜๊ธฐ

[ 1. Node.js ์„ค์น˜ํ•˜๊ธฐ ]nodejs.org/ko/  ์— ์ ‘์†ํ•ด LTS(Long Term Support)๋ฒ„์ „์„ ๋ฐ›์•„์ค€๋‹ค [ 2. Node.js ์„ค์น˜ํ™•์ธ ] cmd๋ฅผ ์—ด๊ณ  ์•„๋ž˜๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•ด ํ™•์ธnode -v [ 3. npm ์„ค์น˜ํ™•์ธ ]npm -v[ 4. Vue.jsํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ ]4.1 ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ค ํด๋”๋กœ ์ด๋™ํ•˜๊ธฐ-์˜ˆ์‹œ๋กœ C๋“œ๋ผ์ด๋ธŒ์— TestWorkspacesํด๋”๋ฅผ ๋งŒ๋“ค์—ˆ๋‹ค-cmd๋ฅผ ์‹คํ–‰ํ•ด ํ•ด๋‹น๊ฒฝ๋กœ๋กœ ์ด๋™ํ•œ๋’ค์•„๋ž˜ ๋ช…๋ น์–ด๋กœ Vue.jsํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ๋‹คvue create ํ”„๋กœ์ ํŠธ์ด๋ฆ„ํ”„๋กœ์ ํŠธ๊ฐ€ ์ƒ์„ฑ๋œ๊ฒƒ์ด ๋ณด์ธ๋‹ค [ 5. Vue.jsํ”„๋กœ์ ํŠธ ์‹คํ–‰ํ•˜๊ธฐ ] cmd์—์„œ ํ•ด๋‹นํ”„๋กœ์ ํŠธ์˜ ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•œ๋’ค ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•œ๋‹คnpm run serve [ 6. ์‹คํ–‰๋œ Vue.jsํ”„๋กœ์ ํŠธ๋ฅผ ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ์ ‘์†..

Dev_Study/Vue.js 2024.11.26