일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- C# 문법
- MySQL
- 리눅스마스터 1급 필기
- mysql 기초문법
- 산업제어시스템 보안
- 백엔드
- 산업제어시스템
- C# SELECT 문
- C#\
- node.js
- 리눅스마스터
- 제어시스템 보안
- Vue.js
- html
- 리눅스 마스터 1급 실기
- 웹 앱 만드는법
- 리눅스 마스터 1급 필기
- 웹 구현
- 웹앱 구현
- 웹 앱 개발
- 리눅스마스터 1급 실기
- 리눅스 마스터 1급 합격 후기
- c#
- 정보처리기능사
- C# SELCT
- C# 문법 기초
- 리눅스 마스터 2급 실기
- 프론트엔드
- 데이터베이스 생성 예제
- 웹 개발
- Today
- Total
목록백엔드 (5)
보안 루피
import { createRouter, createWebHistory } from 'vue-router' import ProductList from '../views/ProductList.vue' import ProductDetail from '../views/ProductDetail.vue' import ProductCreate from '../views/ProductCreate.vue' const routes = [ { path: '/', name: 'home', component: ProductList }, { path: '/create', name: 'Create', component: ProductCreate }, { path: '/detail', // 또는 '/ProductDetail'로 수..
import {createStore} from 'vuex' const store = createStore({ state(){ return{ user:{} } }, mutations:{ user(state,data){ state.user = data; } } }) export default store; vue.js의 상태 관리를 구성하는부분 state: 애플리케이션의 상태를 저장하는 객체입니다. 여기에서는 user 속성을 정의하여 사용자 정보를 저장합니다. mutations: 상태를 변경하는 로직이 정의된 객체입니다. 여기에서는 user 뮤테이션을 정의하여 state.user를 업데이트합니다.
import { createApp } from 'vue' import App from './App.vue' import router from './router' import mixins from './mixins' //부트스트랩 임포 //import 'bootstrap' //import 'bootstrap/dist/css/bootstrap.min.css' import store from './store' //해당 모듈 import 후 use를 꼭 사용해야 사용할 수 있다. createApp(App).use(router).mixin(mixins).use(store).mount('#app') //카카오 SDK초기화 window.Kakao.init("93e035de88e6057997f1e7856b13e079"..
const { query } = require("express") module.exports ={ productList: { //Productlist : 상품 리스트 가져오는 쿼리 query : 'select t1.*, t2.path, t3.category1, t3.category2, t3.category3 from t_product t1, t_image t2, t_category t3 where t1.id = t2.product_id and t2.type =1 and t1.category_id =t3.id' }, productDetail:{ query : 'select t1.*, t2.path, t3.category1, t3.category2, t3.category3 from t_product t1, ..
// 필요한 모듈을 가져옵니다 const express = require('express'); const app = express(); const session = require('express-session'); const fs = require('fs'); // 세션 미들웨어 설정 app.use(session({ secret: 'secret code', resave: false, saveUninitialized: false, cookie: { secure: false, maxAge: 1000 * 60 * 60 } })); // JSON 미들웨어 설정 (크기 제한 증가) app.use(express.json({ limit: '50mb' })); // 데이터베이스 구성 const db = { databa..