{"id":41048,"date":"2024-11-06T02:46:24","date_gmt":"2024-11-06T02:46:24","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=41048"},"modified":"2024-11-26T06:37:43","modified_gmt":"2024-11-26T06:37:43","slug":"16-next-js%ec%99%80-nest-js%eb%a1%9c-%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%9d%b8%ec%a6%9d-%ea%b5%ac%ed%98%84%ed%95%98%ea%b8%b0-jwtjson-web-token%eb%a5%bc-%ed%99%9c%ec%9a%a9%ed%95%9c-%ec%82%ac%ec%9a%a9","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/41048\/","title":{"rendered":"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c"},"content":{"rendered":"<p><body><\/p>\n<p>\n    \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 <strong>Next.js<\/strong>\uc640 <strong>Nest.js<\/strong>\ub97c \uc0ac\uc6a9\ud558\uc5ec JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4.\n<\/p>\n<h2>\ubaa9\ucc28<\/h2>\n<ul>\n<li><a href=\"#what-is-authentication\">1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780?<\/a><\/li>\n<li><a href=\"#jwt-introduction\">2. JWT\ub780?<\/a><\/li>\n<li><a href=\"#environment-setup\">3. \ud658\uacbd \uc124\uc815<\/a><\/li>\n<li><a href=\"#nestjs-setup\">4. Nest.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/a><\/li>\n<li><a href=\"#nextjs-setup\">5. Next.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/a><\/li>\n<li><a href=\"#authentication-implementation\">6. \uc778\uc99d \uad6c\ud604<\/a><\/li>\n<li><a href=\"#conclusion\">7. \uacb0\ub860<\/a><\/li>\n<\/ul>\n<h2 id=\"what-is-authentication\">1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780?<\/h2>\n<p>\n    \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub204\uad6c\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud504\ub85c\uc138\uc2a4\uc785\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790\uc758 \uc2e0\uc6d0\uc744 \ud655\uc778\ud569\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc131\uc744 \ub192\uc774\ub294 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc778\uc99d\uc5d0\ub294 \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac04\uc5d0 \uc815\ubcf4\ub97c \uad50\ud658\ud558\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc29\ubc95\uc774 \uc788\uc73c\uba70, \uac00\uc7a5 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ubc29\ubc95 \uc911 \ud558\ub098\ub294 JWT(Json Web Token)\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"jwt-introduction\">2. JWT\ub780?<\/h2>\n<p>\n    JWT\ub294 JSON \uac1d\uccb4\ub97c \uc548\uc804\ud558\uac8c \uc804\uc1a1\ud558\uae30 \uc704\ud55c \uac1c\ubc29\ud615 \ud45c\uc900\uc785\ub2c8\ub2e4. JWT\ub294 \uc138 \ubd80\ubd84\uc73c\ub85c \uad6c\uc131\ub41c \ubb38\uc790\uc5f4\ub85c, \uac01\uac01 \ud5e4\ub354(Header), \ud398\uc774\ub85c\ub4dc(Payload), \uc11c\uba85(Signature)\ub85c \ub098\ub269\ub2c8\ub2e4.\n<\/p>\n<ul>\n<li><strong>\ud5e4\ub354(Header)<\/strong>: \ud1a0\ud070\uc758 \uc720\ud615\uacfc \ud574\uc2f1 \uc54c\uace0\ub9ac\uc998\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ud398\uc774\ub85c\ub4dc(Payload)<\/strong>: \uc0ac\uc6a9\uc790\uc758 \uc815\ubcf4\uc640 \uad8c\ud55c\uc744 \ud3ec\ud568\ud558\ub294 \ub370\uc774\ud130\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc11c\uba85(Signature)<\/strong>: \ud5e4\ub354\uc640 \ud398\uc774\ub85c\ub4dc\uc758 \uc815\ubcf4\ub97c \uae30\ubc18\uc73c\ub85c \uc0dd\uc131\ub41c \ud574\uc2dc \uac12\uc73c\ub85c, \ud1a0\ud070\uc758 \ubb34\uacb0\uc131\uc744 \ud655\uc778\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<p>\n    JWT\uc758 \uc8fc\uc694 \uc7a5\uc810\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8 \uce21\uc5d0\uc11c \uc815\ubcf4\ub97c \uc800\uc7a5\ud558\uace0 \uc774\ub97c \uac80\uc99d\ud560 \uc218 \uc788\ub294 \uc810\uc785\ub2c8\ub2e4. \ub610\ud55c \uc0c1\ud0dc \ube44\uc800\uc7a5(stateless) \ubc29\uc2dd\uc73c\ub85c \uc11c\ubc84\uc758 \ubd80\ub2f4\uc744 \ucd5c\uc18c\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"environment-setup\">3. \ud658\uacbd \uc124\uc815<\/h2>\n<p>\n    \uc774 \ud504\ub85c\uc81d\ud2b8\ub97c \uc9c4\ud589\ud558\uae30 \uc704\ud574\uc11c\ub294 Node.js\uc640 npm(Node Package Manager)\uc774 \ud544\uc694\ud569\ub2c8\ub2e4. \ub2e4\uc74c \ub9c1\ud06c\uc5d0\uc11c \uc774\ub97c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4: <a href=\"https:\/\/nodejs.org\/\">Node.js \uacf5\uc2dd \uc6f9\uc0ac\uc774\ud2b8<\/a>\n<\/p>\n<h2 id=\"nestjs-setup\">4. Nest.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>\n    Nest.js\ub294 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uc740 Nest.js \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.\n<\/p>\n<pre><code>npm install -g @nestjs\/cli\nnest new auth-example\ncd auth-example\nnpm install @nestjs\/jwt passport-jwt passport bcryptjs class-validator class-transformer<\/code><\/pre>\n<p>\uc704 \uba85\ub839\uc744 \uc0ac\uc6a9\ud558\uc5ec Nest.js \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud558\uace0 \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.1. \ubaa8\ub4c8 \uc0dd\uc131<\/h3>\n<p>\n    \uc778\uc99d \uae30\ub2a5\uc744 \uc704\ud55c \ubaa8\ub4c8\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>nest g module auth\nnest g service auth\nnest g controller auth<\/code><\/pre>\n<p>\uc774 \uba85\ub839\uc5b4\ub294 auth \ubaa8\ub4c8, \uc11c\ube44\uc2a4, \ubc0f \ucee8\ud2b8\ub864\ub7ec\ub97c \uac01\uac01 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.2. AuthService \uad6c\ud604<\/h3>\n<p>\n    AuthService\ub294 \uc0ac\uc6a9\uc790\uc758 \ub4f1\ub85d \ubc0f \ub85c\uadf8\uc778\uc744 \ucc98\ub9ac\ud558\ub294 \uc11c\ube44\uc2a4\uc785\ub2c8\ub2e4. \uc544\ub798\uc640 \uac19\uc774 <code>auth.service.ts<\/code> \ud30c\uc77c\uc744 \uc218\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import { Injectable } from '@nestjs\/common';\nimport { JwtService } from '@nestjs\/jwt';\nimport { User } from 'src\/user\/user.entity'; \/\/ \uc608\uc2dc\ub97c \uc704\ud55c User \ubaa8\ub378\nimport * as bcrypt from 'bcryptjs';\n\n@Injectable()\nexport class AuthService {\n    constructor(private jwtService: JwtService) {}\n\n    async register(userData: any): Promise<user> {\n        const hashedPassword = await bcrypt.hash(userData.password, 10);\n        const user = new User();  \/\/ \uc0ac\uc6a9\uc790\ub97c DB\uc5d0 \uc800\uc7a5\ud558\ub294 \ub85c\uc9c1 \ud544\uc694\n        user.username = userData.username;\n        user.password = hashedPassword;\n        \/\/ save user to DB logic\n        return user;\n    }\n\n    async validateUser(username: string, password: string): Promise<any> {\n        const user = await this.findUserByUsername(username); \/\/ \uc0ac\uc6a9\uc790\ub97c DB\uc5d0\uc11c \ucc3e\ub294 \ub85c\uc9c1 \ud544\uc694\n        if (user &amp;&amp; await bcrypt.compare(password, user.password)) {\n            return user;\n        }\n        return null;\n    }\n\n    async login(user: any) {\n        const payload = { username: user.username, sub: user.userId };\n        return {\n            access_token: this.jwtService.sign(payload),\n        };\n    }\n}\n<\/any><\/user><\/code><\/pre>\n<h3>4.3. AuthController \uad6c\ud604<\/h3>\n<p>\uc778\uc99d \uad00\ub828 HTTP \uc694\uccad\uc744 \ucc98\ub9ac\ud558\ub294 AuthController \ub97c \uad6c\ud604\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import { Controller, Post, Request, UseGuards } from '@nestjs\/common';\nimport { AuthService } from '.\/auth.service';\nimport { LocalAuthGuard } from '.\/local-auth.guard'; \/\/ \ub85c\uceec \uc778\uc99d \uac00\ub4dc\n\n@Controller('auth')\nexport class AuthController {\n    constructor(private readonly authService: AuthService) {}\n\n    @Post('register')\n    async register(@Request() req) {\n        return this.authService.register(req.body);\n    }\n\n    @UseGuards(LocalAuthGuard)\n    @Post('login')\n    async login(@Request() req) {\n        return this.authService.login(req.user);\n    }\n}\n<\/code><\/pre>\n<h3>4.4. JWT \uc124\uc815<\/h3>\n<p>JWT\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import { Module } from '@nestjs\/common';\nimport { JwtModule } from '@nestjs\/jwt';\nimport { AuthService } from '.\/auth.service';\nimport { AuthController } from '.\/auth.controller';\n\n@Module({\n    imports: [\n        JwtModule.register({\n            secret: 'secretKey', \/\/ \ud658\uacbd\ubcc0\uc218\ub85c \ubd84\ub9ac\ud560 \uac83\n            signOptions: { expiresIn: '60s' }, \/\/ \ud1a0\ud070 \ub9cc\ub8cc \uc2dc\uac04\n        }),\n    ],\n    controllers: [AuthController],\n    providers: [AuthService],\n})\nexport class AuthModule {}\n<\/code><\/pre>\n<h2 id=\"nextjs-setup\">5. Next.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>Next.js\ub294 React \uae30\ubc18\uc73c\ub85c \uc11c\ubc84 \uc0ac\uc774\ub4dc \ub80c\ub354\ub9c1\uc744 \uc9c0\uc6d0\ud558\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uc740 Next.js \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>npx create-next-app next-auth-example\ncd next-auth-example\nnpm install axios js-cookie<\/code><\/pre>\n<h3>5.1. \ub85c\uadf8\uc778 \ud398\uc774\uc9c0 \uc0dd\uc131<\/h3>\n<p>Next.js \ud504\ub85c\uc81d\ud2b8\uc5d0 \ub85c\uadf8\uc778 \uae30\ub2a5\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4. <code>pages\/login.js<\/code> \ud30c\uc77c\uc744 \ub9cc\ub4e4\uace0 \uc544\ub798\uc640 \uac19\uc774 \uc218\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import { useState } from 'react';\nimport axios from 'axios';\nimport Cookies from 'js-cookie';\n\nconst Login = () =&gt; {\n    const [username, setUsername] = useState('');\n    const [password, setPassword] = useState('');\n\n    const handleLogin = async () =&gt; {\n        try {\n            const response = await axios.post('http:\/\/localhost:3000\/auth\/login', { username, password });\n            Cookies.set('token', response.data.access_token);\n            alert('\ub85c\uadf8\uc778 \uc131\uacf5');\n        } catch (error) {\n            alert('\ub85c\uadf8\uc778 \uc2e4\ud328');\n        }\n    };\n\n    return (\n        <div>\n            <h1>\ub85c\uadf8\uc778<\/h1>\n            <input ==\"\" onchange=\"{(e)\" type=\"text\" value=\"{username}\"\/> setUsername(e.target.value)} placeholder=\"\uc0ac\uc6a9\uc790\uba85\" \/&gt;\n            <input ==\"\" onchange=\"{(e)\" type=\"password\" value=\"{password}\"\/> setPassword(e.target.value)} placeholder=\"\ube44\ubc00\ubc88\ud638\" \/&gt;\n            <button onclick=\"{handleLogin}\">\ub85c\uadf8\uc778<\/button>\n        <\/div>\n    );\n};\n\nexport default Login;\n<\/code><\/pre>\n<h3>5.2. \uc0ac\uc6a9\uc790 \uc778\uc99d \uc0c1\ud0dc \uad00\ub9ac<\/h3>\n<p>\uc0ac\uc6a9\uc790 \uc778\uc99d \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud558\uace0, \uc778\uc99d\uc774 \ud544\uc694\ud55c \ud398\uc774\uc9c0\ub97c \ubcf4\ud638\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>import { useEffect } from 'react';\nimport Router from 'next\/router';\nimport Cookies from 'js-cookie';\n\nconst withAuth = (WrappedComponent) =&gt; {\n    return (props) =&gt; {\n        useEffect(() =&gt; {\n            const token = Cookies.get('token');\n            if (!token) {\n                Router.push('\/login');\n            }\n        }, []);\n\n        return <wrappedcomponent {...props}=\"\"><\/wrappedcomponent>;\n    };\n};\n\nexport default withAuth;\n<\/code><\/pre>\n<p>\n    \uc774\ub807\uac8c \uad6c\ud604\ud558\uba74 \uc778\uc99d\ub418\uc9c0 \uc54a\uc740 \uc0ac\uc6a9\uc790\uac00 \ud2b9\uc815 \ud398\uc774\uc9c0\uc5d0 \uc811\uadfc\ud560 \ub54c \ub85c\uadf8\uc778 \ud398\uc774\uc9c0\ub85c \ub9ac\ub514\ub809\uc158\ub429\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"authentication-implementation\">6. \uc778\uc99d \uad6c\ud604<\/h2>\n<p>\n    \uc9c0\uae08\uae4c\uc9c0 \uc124\uc815\ud55c \ub0b4\uc6a9\uc744 \ubc14\ud0d5\uc73c\ub85c \uc804\uccb4\uc801\uc778 \uc778\uc99d \ud750\ub984\uc744 \uc694\uc57d\ud569\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \ub85c\uadf8\uc778 \uc694\uccad\uc744 \ubcf4\ub0b4\uba74 Nest.js\uc758 AuthService\uac00 \ud574\ub2f9 \uc694\uccad\uc744 \ucc98\ub9ac\ud558\uac8c \ub429\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \uc874\uc7ac\ud558\uace0 \ube44\ubc00\ubc88\ud638\uac00 \uc62c\ubc14\ub974\uac8c \uc785\ub825\ub418\uba74 JWT \ud1a0\ud070\uc744 \ubc1c\uae09\ubc1b\uace0, \uc774\ub97c \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \ucfe0\ud0a4\uc5d0 \uc800\uc7a5\ud569\ub2c8\ub2e4. \uc774\ud6c4 \uc694\uccad\uc740 \uc774 \ud1a0\ud070\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc778\uc99d\ub41c \uc0ac\uc6a9\uc790\ub85c\uc11c \ucc98\ub9ac\ub429\ub2c8\ub2e4.\n<\/p>\n<p>\uc774\uc640 \uac19\uc774  Next.js\uc640 Nest.js\ub97c \ud65c\uc6a9\ud558\uba74 \ud6a8\uc728\uc801\uc774\uace0 \uc548\uc804\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2 id=\"conclusion\">7. \uacb0\ub860<\/h2>\n<p>\n    \ubcf8 \uae00\uc5d0\uc11c\ub294 Next.js\uc640 Nest.js\ub97c \uc774\uc6a9\ud558\uc5ec JWT \uae30\ubc18\uc758 \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubc29\ubc95\uc744 \ud1b5\ud574 \ud604\ub300\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ud544\uc218\uc801\uc778 \uc0ac\uc6a9\uc790 \uad00\ub9ac\uc640 \ubcf4\uc548 \uae30\ub2a5\uc744 \ud6a8\uacfc\uc801\uc73c\ub85c \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c \ub354 \ub098\uc544\uac00 \ub2e4\uc591\ud55c \uc778\uc99d \ubc29\uc2dd \ubc0f \ubcf4\uc548 \uad00\ub828 \uae30\ub2a5\ub4e4\ub3c4 \uace0\ub824\ud574 \ubcf4\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4.\n<\/p>\n<p>\uc774 \uae00\uc774 \uc5ec\ub7ec\ubd84\uc758 \uc6f9 \uac1c\ubc1c \uc5ec\uc815\uc5d0 \ub3c4\uc6c0\uc774 \ub418\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \uc9c8\ubb38\uc774 \uc788\uc73c\uc2dc\uba74 \ub313\uae00\ub85c \ub0a8\uaca8\uc8fc\uc138\uc694!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Next.js\uc640 Nest.js\ub97c \uc0ac\uc6a9\ud558\uc5ec JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4. \ubaa9\ucc28 1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780? 2. JWT\ub780? 3. \ud658\uacbd \uc124\uc815 4. Nest.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 5. Next.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 6. \uc778\uc99d \uad6c\ud604 7. \uacb0\ub860 1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780? \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub204\uad6c\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud504\ub85c\uc138\uc2a4\uc785\ub2c8\ub2e4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/41048\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[223],"tags":[],"class_list":["post-41048","post","type-post","status-publish","format-standard","hentry","category-nextjs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/41048\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Next.js\uc640 Nest.js\ub97c \uc0ac\uc6a9\ud558\uc5ec JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4. \ubaa9\ucc28 1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780? 2. JWT\ub780? 3. \ud658\uacbd \uc124\uc815 4. Nest.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 5. Next.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 6. \uc778\uc99d \uad6c\ud604 7. \uacb0\ub860 1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780? \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub204\uad6c\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud504\ub85c\uc138\uc2a4\uc785\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 &quot;16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/41048\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-06T02:46:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:37:43+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/41048\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41048\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\",\"datePublished\":\"2024-11-06T02:46:24+00:00\",\"dateModified\":\"2024-11-26T06:37:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41048\/\"},\"wordCount\":83,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"nextjs\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/41048\/\",\"url\":\"https:\/\/atmokpo.com\/w\/41048\/\",\"name\":\"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-06T02:46:24+00:00\",\"dateModified\":\"2024-11-26T06:37:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41048\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/41048\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/41048\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/41048\/","og_locale":"ko_KR","og_type":"article","og_title":"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Next.js\uc640 Nest.js\ub97c \uc0ac\uc6a9\ud558\uc5ec JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4. \ubaa9\ucc28 1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780? 2. JWT\ub780? 3. \ud658\uacbd \uc124\uc815 4. Nest.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 5. Next.js \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 6. \uc778\uc99d \uad6c\ud604 7. \uacb0\ub860 1. \uc0ac\uc6a9\uc790 \uc778\uc99d\uc774\ub780? \uc0ac\uc6a9\uc790 \uc778\uc99d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub204\uad6c\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud504\ub85c\uc138\uc2a4\uc785\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 \"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\"","og_url":"https:\/\/atmokpo.com\/w\/41048\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-06T02:46:24+00:00","article_modified_time":"2024-11-26T06:37:43+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/41048\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/41048\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c","datePublished":"2024-11-06T02:46:24+00:00","dateModified":"2024-11-26T06:37:43+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/41048\/"},"wordCount":83,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["nextjs"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/41048\/","url":"https:\/\/atmokpo.com\/w\/41048\/","name":"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-06T02:46:24+00:00","dateModified":"2024-11-26T06:37:43+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/41048\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/41048\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/41048\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"16.Next.js\uc640 Nest.js\ub85c \uc0ac\uc6a9\uc790 \uc778\uc99d \uad6c\ud604\ud558\uae30, JWT(Json Web Token)\ub97c \ud65c\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":38402,"url":"https:\/\/atmokpo.com\/w\/38402\/","url_meta":{"origin":41048,"position":0},"title":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc561\uc138\uc2a4 \ud1a0\ud070 \uc0dd\uc131\uacfc \uac80\uc99d","author":"root","date":"2024\ub144 11\uc6d4 01\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 FastAPI\ub294 Python\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \ud604\ub300\uc801\uc778 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ube44\ub3d9\uae30 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uc9c0\uc6d0\ud558\uba70 \ucd5c\uc801\ud654\ub41c \uc131\ub2a5\uc744 \uc790\ub791\ud569\ub2c8\ub2e4. RESTful API\ub97c \uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\ub294 FastAPI\uc758 \ud2b9\uc9d5 \uc911 \ud558\ub098\ub294 \ub370\uc774\ud130 \uac80\uc99d\uacfc \uc790\ub3d9 \ubb38\uc11c \uc0dd\uc131 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 FastAPI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc561\uc138\uc2a4 \ud1a0\ud070\uc744 \uc0dd\uc131\ud558\uace0 \uac80\uc99d\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f9\ub2c8\ub2e4. \uc561\uc138\uc2a4\u2026","rel":"","context":"&quot;FastAPI\uc11c\ubc84\uac1c\ubc1c&quot;\uc5d0\uc11c","block_context":{"text":"FastAPI\uc11c\ubc84\uac1c\ubc1c","link":"https:\/\/atmokpo.com\/w\/category\/fastapi%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41939,"url":"https:\/\/atmokpo.com\/w\/41939\/","url_meta":{"origin":41048,"position":1},"title":"017. SaaS \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc544\ud0a4\ud14d\ucc98, API \uc124\uacc4\uc640 \uad00\ub9ac","author":"root","date":"2024\ub144 11\uc6d4 08\uc77c","format":false,"excerpt":"\uc791\uc131\uc77c: 2023\ub144 10\uc6d4 30\uc77c \uc800\uc790: \uc870\uad11\ud615 1. SaaS\ub780? SaaS(Software as a Service)\ub294 \ud074\ub77c\uc6b0\ub4dc\uc5d0\uc11c \ud638\uc2a4\ud305\ub418\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc778\ud130\ub137\uc744 \ud1b5\ud574 \uc81c\uacf5\ud558\ub294 \ubaa8\ub378\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub97c \ub85c\uceec\ub85c \uc124\uce58\ud558\uace0 \uad00\ub9ac\ud560 \ud544\uc694 \uc5c6\uc774 \uc6f9 \ube0c\ub77c\uc6b0\uc800\ub97c \ud1b5\ud574 \ubc14\ub85c \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc811\uadfc \ubc29\uc2dd\uc740 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub192\uc740 \uc720\uc5f0\uc131\uacfc \ube44\uc6a9 \ud6a8\uc728\uc131\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. 2. SaaS \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc544\ud0a4\ud14d\ucc98 SaaS \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc544\ud0a4\ud14d\ucc98\ub294\u2026","rel":"","context":"&quot;Saas&quot;\uc5d0\uc11c","block_context":{"text":"Saas","link":"https:\/\/atmokpo.com\/w\/category\/saas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":43394,"url":"https:\/\/atmokpo.com\/w\/43394\/","url_meta":{"origin":41048,"position":2},"title":"[\uc544\ud30c\uce58 \ucf54\ub974\ub3c4\ubc14]  \uc544\ud30c\uce58 \ucf54\ub974\ub3c4\ubc14 \uac1c\ubc1c\uc5d0\uc11c\uc758 \ubcf4\uc548 \uad00\ub828 \uace0\ub824\uc0ac\ud56d","author":"root","date":"2024\ub144 11\uc6d4 27\uc77c","format":false,"excerpt":"\uc544\ud30c\uce58 \ucf54\ub974\ub3c4\ubc14\ub294 \ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc \ubaa8\ubc14\uc77c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 \uac1c\ubc1c\uc744 \uc704\ud55c \uc720\uc6a9\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ubaa8\ub4e0 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c\uc640 \ub9c8\ucc2c\uac00\uc9c0\ub85c, \ubcf4\uc548\uc740 \uc544\ud30c\uce58 \ucf54\ub974\ub3c4\ubc14\uc5d0\uc11c\ub3c4 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ubaa8\ubc14\uc77c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790 \ub370\uc774\ud130, \uac1c\uc778\uc815\ubcf4, \uacb0\uc81c \uc815\ubcf4 \ub4f1\uc744 \ub2e4\ub8e8\uae30 \ub54c\ubb38\uc5d0 \uac15\ub825\ud55c \ubcf4\uc548 \uc870\uce58\uac00 \uc694\uad6c\ub429\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc544\ud30c\uce58 \ucf54\ub974\ub3c4\ubc14 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \ub54c \uace0\ub824\ud574\uc57c \ud560 \ubcf4\uc548 \uad00\ub828 \uc0ac\ud56d\ub4e4\uc744 \uc138\ubd80\uc801\uc73c\ub85c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\u2026","rel":"","context":"&quot;cordova&quot;\uc5d0\uc11c","block_context":{"text":"cordova","link":"https:\/\/atmokpo.com\/w\/category\/cordova\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41082,"url":"https:\/\/atmokpo.com\/w\/41082\/","url_meta":{"origin":41048,"position":3},"title":"27.\ube14\ub85c\uadf8 \ud3ec\uc2a4\ud2b8 \uc791\uc131 \ubc0f \uc5d0\ub514\ud130 \uae30\ub2a5 \ucd94\uac00, \uc11c\ubc84\uc5d0\uc11c \ub9c8\ud06c\ub2e4\uc6b4 \ud30c\uc77c\uc744 HTML\ub85c \ubcc0\ud658\ud558\uc5ec \ub80c\ub354\ub9c1","author":"root","date":"2024\ub144 11\uc6d4 06\uc77c","format":false,"excerpt":"\ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \ube14\ub85c\uadf8 \uc2dc\uc2a4\ud15c\uc740 \ub9ce\uc740 \uc778\uae30\ub97c \ub04c\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788\ub098 \uac1c\uc778\uc774 \uc790\uc2e0\uc744 \ud45c\ud604\ud560 \uc218 \uc788\ub294 \uacf5\uac04\uc73c\ub85c \ube14\ub85c\uadf8\ub294 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 Nest.js\uc640 Next.js\ub97c \ud65c\uc6a9\ud558\uc5ec \ube14\ub85c\uadf8 \ud3ec\uc2a4\ud2b8 \uc791\uc131 \ubc0f \uc5d0\ub514\ud130 \uae30\ub2a5\uc744 \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub17c\uc758\ud558\uace0\uc790 \ud569\ub2c8\ub2e4. 1. \ud504\ub85c\uc81d\ud2b8 \uad6c\uc131 Nest.js\ub294 \uc11c\ubc84 \uc0ac\uc774\ub4dc \ud504\ub808\uc784\uc6cc\ud06c\ub85c, TypeScript\ub85c \uc791\uc131\ub418\uc5b4 \uc788\uc73c\uba70, Next.js\ub294 \ub9ac\uc561\ud2b8\u2026","rel":"","context":"&quot;nextjs&quot;\uc5d0\uc11c","block_context":{"text":"nextjs","link":"https:\/\/atmokpo.com\/w\/category\/nextjs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41118,"url":"https:\/\/atmokpo.com\/w\/41118\/","url_meta":{"origin":41048,"position":4},"title":"45.Next.js\uc640 Nest.js\uc5d0\uc11c API \uce90\uc2f1\uacfc \uc131\ub2a5 \ucd5c\uc801\ud654, API \uc751\ub2f5 \uc18d\ub3c4\ub97c \ub192\uc774\uae30 \uc704\ud55c \ucd5c\uc801\ud654 \uc804\ub7b5","author":"root","date":"2024\ub144 11\uc6d4 06\uc77c","format":false,"excerpt":"\uc791\uc131\uc77c: 2023\ub144 10\uc6d4 1\uc77c \uc800\uc790: \uc870\uad11\ud615 1. \uc11c\ub860 \uc624\ub298\ub0a0 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uac1c\uc120\ud558\uae30 \uc704\ud574 \ube60\ub978 \uc751\ub2f5 \uc18d\ub3c4\ub97c \uc694\uad6c\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. Next.js\uc640 Nest.js\ub294 \uac01\uac01 \ud504\ub860\ud2b8\uc5d4\ub4dc\uc640 \ubc31\uc5d4\ub4dc\uc5d0\uc11c \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774 \ub458\uc758 \uc870\ud569\uc744 \ud65c\uc6a9\ud558\uba74 \ud604\ub300\uc801\uc778 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ub300\uaddc\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c\ub294 API \uc751\ub2f5 \uc18d\ub3c4\ub97c \ub192\uc774\uae30 \uc704\ud55c \ub2e4\uc591\ud55c \uc804\ub7b5\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.\u2026","rel":"","context":"&quot;nextjs&quot;\uc5d0\uc11c","block_context":{"text":"nextjs","link":"https:\/\/atmokpo.com\/w\/category\/nextjs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26620,"url":"https:\/\/atmokpo.com\/w\/26620\/","url_meta":{"origin":41048,"position":5},"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3, \ud68c\uc6d0 \uac00\uc785 \uad6c\ud604, \uc758\uc874\uc131 \ucd94\uac00\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \uad00\ud55c \uae30\ubcf8\uc801\uc778 \ub0b4\uc6a9\uc744 \ub2e4\ub8e8\uace0, \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub97c \ud1b5\ud574 \ub85c\uadf8\uc778, \ub85c\uadf8\uc544\uc6c3, \ud68c\uc6d0 \uac00\uc785 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud569\ub2c8\ub2e4. 1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub354\uc6b1 \uc27d\uac8c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c \uc124\uc815 \uacfc\uc815\uc744 \ucd5c\uc18c\ud654\ud558\uace0, \ub0b4\uc7a5\ud615 \uc11c\ubc84\ub97c\u2026","rel":"","context":"&quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%95%a4%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=41048"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41048\/revisions"}],"predecessor-version":[{"id":41049,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41048\/revisions\/41049"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=41048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=41048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=41048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}