slack efub
@efubslack6040
Reviews Written
-
Average Rating
-
Posts
Q&A
๋ก๊ทธ์ธ์ ๋ฐ์ดํฐ๋ฅผ ๋ชป ๊ฐ์ ธ์ต๋๋ค. 500์๋ฌ
(์ฌ์ง)
- 0
- 2
- 653
Q&A
๋ก๊ทธ์ธ์ ๋ฐ์ดํฐ๋ฅผ ๋ชป ๊ฐ์ ธ์ต๋๋ค. 500์๋ฌ
(์ฌ์ง)์๋ฒ์ชฝ ์๋ฌ์ธ๋ฏ ํ๋ฐ, ๊ธฐ์กด ํ์์์ด์์ ๊ฐ์ ์ง๋ฌธ์ด ์๋๋ผ๊ตฌ์,, ๊ทผ๋ฐ ๋ต๋ณ์ ๋ด๋ ์ดํด๊ฐ ๊ฐ์ง์์์ ์ด๋ป๊ฒ ํด์ผํ ์ง ์์ธํ ์ค๋ช ํด์ฃผ์ค ์ ์์๊น์?ใ ใ ์ฐธ๊ณ ๋ก mysql pass์๋๋ .env์ธ์์ด ์๋์ด์ config.js์ ์ง์ ๋ฃ์ด์ฃผ์์ต๋๋ค. (์ฌ์ง)ํด๋น ๋ต๋ณ์ ๋ณด์๋๋ฐ express๋ชจ๋์์ ์ด๋๋ฅผ ๊ณ ์ณ์ผ ํ๋์? // Type definitions for Express 4.17 // Project: http://expressjs.com // Definitions by: Boris Yankov // China Medical University Hospital // Puneet Arora // Dylan Frankland // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /* =================== USAGE =================== import express = require("express"); var app = express(); =============================================== */ /// /// import * as bodyParser from 'body-parser'; import * as serveStatic from 'serve-static'; import * as core from 'express-serve-static-core'; import * as qs from 'qs'; /** * Creates an Express application. The express() function is a top-level function exported by the express module. */ declare function e(): core.Express; declare namespace e { /** * This is a built-in middleware function in Express. It parses incoming requests with JSON payloads and is based on body-parser. * @since 4.16.0 */ var json: typeof bodyParser.json; /** * This is a built-in middleware function in Express. It parses incoming requests with Buffer payloads and is based on body-parser. * @since 4.17.0 */ var raw: typeof bodyParser.raw; /** * This is a built-in middleware function in Express. It parses incoming requests with text payloads and is based on body-parser. * @since 4.17.0 */ var text: typeof bodyParser.text; /** * These are the exposed prototypes. */ var application: Application; var request: Request; var response: Response; /** * This is a built-in middleware function in Express. It serves static files and is based on serve-static. */ var static: serveStatic.RequestHandlerConstructor; /** * This is a built-in middleware function in Express. It parses incoming requests with urlencoded payloads and is based on body-parser. * @since 4.16.0 */ var urlencoded: typeof bodyParser.urlencoded; /** * This is a built-in middleware function in Express. It parses incoming request query parameters. */ export function query(options: qs.IParseOptions | typeof qs.parse): Handler; export function Router(options?: RouterOptions): core.Router; interface RouterOptions { /** * Enable case sensitivity. */ caseSensitive?: boolean | undefined; /** * Preserve the req.params values from the parent router. * If the parent and the child have conflicting param names, the childโs value take precedence. * * @default false * @since 4.5.0 */ mergeParams?: boolean | undefined; /** * Enable strict routing. */ strict?: boolean | undefined; } interface Application extends core.Application {} interface CookieOptions extends core.CookieOptions {} interface Errback extends core.Errback {} interface ErrorRequestHandler = Record > extends core.ErrorRequestHandler {} interface Express extends core.Express {} interface Handler extends core.Handler {} interface IRoute extends core.IRoute {} interface IRouter extends core.IRouter {} interface IRouterHandler extends core.IRouterHandler {} interface IRouterMatcher extends core.IRouterMatcher {} interface MediaType extends core.MediaType {} interface NextFunction extends core.NextFunction {} interface Request = Record > extends core.Request {} interface RequestHandler = Record > extends core.RequestHandler {} interface RequestParamHandler extends core.RequestParamHandler {} export interface Response = Record> extends core.Response {} interface Router extends core.Router {} interface Send extends core.Send {} } export = e;
- 0
- 2
- 653
Q&A
component์์ ์๋ฌ
๋ ธ๋ ํ์ผ ์ง์ฐ๊ณ react-router-dom๋ ์ง์ฐ๊ณ ํจํค์ง ์ต์ ๋ฒ์ ์ผ๋ก ๋ค์๊น๊ณ , ๋ค์๊ป๋ค ์ผฐ๋๋ ๋ฉ๋๋ค. ๋์์ฃผ์ ์ ๊ฐ์ฌํด์ ใ ใ
- 0
- 2
- 359




