3 Revize 2709e247ac ... 3b46d42752

Autor SHA1 Zpráva Datum
  허용운 3b46d42752 css 추가 před 5 roky
  허용운 0ac0cad3ed create nuxt project před 5 roky
  허용운 b2246c6cbd 디렉토리 변경 před 5 roky
95 změnil soubory, kde provedl 51098 přidání a 0 odebrání
  1. 13 0
      admin/.editorconfig
  2. 90 0
      admin/.gitignore
  3. 22 0
      admin/README.md
  4. 7 0
      admin/assets/README.md
  5. 33 0
      admin/components/Logo.vue
  6. 7 0
      admin/components/README.md
  7. 12 0
      admin/jsconfig.json
  8. 7 0
      admin/layouts/README.md
  9. 55 0
      admin/layouts/default.vue
  10. 8 0
      admin/middleware/README.md
  11. 63 0
      admin/nuxt.config.js
  12. 9549 0
      admin/package-lock.json
  13. 21 0
      admin/package.json
  14. 6 0
      admin/pages/README.md
  15. 5 0
      admin/pages/about.vue
  16. 72 0
      admin/pages/index.vue
  17. 7 0
      admin/plugins/README.md
  18. 11 0
      admin/static/README.md
  19. 6205 0
      admin/static/css/all.css
  20. 4723 0
      admin/static/css/default.css
  21. binární
      admin/static/css/font-awesome/webfonts/fa-brands-400.eot
  22. 3459 0
      admin/static/css/font-awesome/webfonts/fa-brands-400.svg
  23. binární
      admin/static/css/font-awesome/webfonts/fa-brands-400.ttf
  24. binární
      admin/static/css/font-awesome/webfonts/fa-brands-400.woff
  25. binární
      admin/static/css/font-awesome/webfonts/fa-brands-400.woff2
  26. binární
      admin/static/css/font-awesome/webfonts/fa-light-300.eot
  27. 9901 0
      admin/static/css/font-awesome/webfonts/fa-light-300.svg
  28. binární
      admin/static/css/font-awesome/webfonts/fa-light-300.ttf
  29. binární
      admin/static/css/font-awesome/webfonts/fa-light-300.woff
  30. binární
      admin/static/css/font-awesome/webfonts/fa-light-300.woff2
  31. binární
      admin/static/css/font-awesome/webfonts/fa-regular-400.eot
  32. 9103 0
      admin/static/css/font-awesome/webfonts/fa-regular-400.svg
  33. binární
      admin/static/css/font-awesome/webfonts/fa-regular-400.ttf
  34. binární
      admin/static/css/font-awesome/webfonts/fa-regular-400.woff
  35. binární
      admin/static/css/font-awesome/webfonts/fa-regular-400.woff2
  36. binární
      admin/static/css/font-awesome/webfonts/fa-solid-900.eot
  37. 7709 0
      admin/static/css/font-awesome/webfonts/fa-solid-900.svg
  38. binární
      admin/static/css/font-awesome/webfonts/fa-solid-900.ttf
  39. binární
      admin/static/css/font-awesome/webfonts/fa-solid-900.woff
  40. binární
      admin/static/css/font-awesome/webfonts/fa-solid-900.woff2
  41. binární
      admin/static/favicon.ico
  42. binární
      admin/static/font/amazon-ember-regular-webfont.eot
  43. binární
      admin/static/font/amazon-ember-regular-webfont.ttf
  44. binární
      admin/static/font/amazon-ember-regular-webfont.woff
  45. binární
      admin/static/font/amazon-ember-regular-webfont.woff2
  46. binární
      admin/static/icon.png
  47. binární
      admin/static/img/amazonImg.jpg
  48. binární
      admin/static/img/arrow.gif
  49. binární
      admin/static/img/audiblelogo.png
  50. binární
      admin/static/img/avatar.png
  51. binární
      admin/static/img/cart.png
  52. binární
      admin/static/img/cartRecent4.png
  53. binární
      admin/static/img/cart_06.png
  54. binární
      admin/static/img/gift.png
  55. binární
      admin/static/img/globalImg.png
  56. binární
      admin/static/img/icons.png
  57. binární
      admin/static/img/icons2.png
  58. binární
      admin/static/img/icons3.png
  59. binární
      admin/static/img/icons4.png
  60. binární
      admin/static/img/imageUpload.png
  61. binární
      admin/static/img/logo-black.png
  62. binární
      admin/static/img/logo-black1.png
  63. binární
      admin/static/img/logo.png
  64. binární
      admin/static/img/logo1.png
  65. binární
      admin/static/img/logo2.png
  66. binární
      admin/static/img/navShipping.gif
  67. binární
      admin/static/img/placeHeadernav.gif
  68. binární
      admin/static/img/readyondevice.png
  69. binární
      admin/static/img/search.png
  70. binární
      admin/static/img/socialshare.png
  71. binární
      admin/static/img/spcBody.jpg
  72. binární
      admin/static/img/visa.gif
  73. binární
      admin/static/owner-images/brad.jpg
  74. binární
      admin/static/owner-images/george.jpg
  75. binární
      admin/static/owner-images/jk_rowling.jpg
  76. binární
      admin/static/owner-images/sony.png
  77. binární
      admin/static/owner-images/walter_isaacson.jpg
  78. binární
      admin/static/product-images/amazonImg.jpg
  79. binární
      admin/static/product-images/einstein.jpg
  80. binární
      admin/static/product-images/gameofthrones.jpg
  81. binární
      admin/static/product-images/harry_potter.jpg
  82. binární
      admin/static/product-images/ps4.jpg
  83. binární
      admin/static/product-images/steve_jobs.jpg
  84. 10 0
      admin/store/README.md
  85. 0 0
      server/middlewares/upload-photo.js
  86. 0 0
      server/models/category.js
  87. 0 0
      server/models/owner.js
  88. 0 0
      server/models/product.js
  89. 0 0
      server/models/user.js
  90. 0 0
      server/package-lock.json
  91. 0 0
      server/package.json
  92. 0 0
      server/routes/category.js
  93. 0 0
      server/routes/owner.js
  94. 0 0
      server/routes/products.js
  95. 0 0
      server/server.js

+ 13 - 0
admin/.editorconfig

@@ -0,0 +1,13 @@
+# editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false

+ 90 - 0
admin/.gitignore

@@ -0,0 +1,90 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Node template
+# Logs
+/logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+
+# nyc test coverage
+.nyc_output
+
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# Bower dependency directory (https://bower.io/)
+bower_components
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (https://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules/
+jspm_packages/
+
+# TypeScript v1 declaration files
+typings/
+
+# Optional npm cache directory
+.npm
+
+# Optional eslint cache
+.eslintcache
+
+# Optional REPL history
+.node_repl_history
+
+# Output of 'npm pack'
+*.tgz
+
+# Yarn Integrity file
+.yarn-integrity
+
+# dotenv environment variables file
+.env
+
+# parcel-bundler cache (https://parceljs.org/)
+.cache
+
+# next.js build output
+.next
+
+# nuxt.js build output
+.nuxt
+
+# Nuxt generate
+dist
+
+# vuepress build output
+.vuepress/dist
+
+# Serverless directories
+.serverless
+
+# IDE / Editor
+.idea
+
+# Service worker
+sw.*
+
+# Mac OSX
+.DS_Store
+
+# Vim swap files
+*.swp

+ 22 - 0
admin/README.md

@@ -0,0 +1,22 @@
+# admin
+
+> My ultimate Nuxt.js project
+
+## Build Setup
+
+``` bash
+# install dependencies
+$ npm run install
+
+# serve with hot reload at localhost:3000
+$ npm run dev
+
+# build for production and launch server
+$ npm run build
+$ npm run start
+
+# generate static project
+$ npm run generate
+```
+
+For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).

+ 7 - 0
admin/assets/README.md

@@ -0,0 +1,7 @@
+# ASSETS
+
+**This directory is not required, you can delete it if you don't want to use it.**
+
+This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked).

+ 33 - 0
admin/components/Logo.vue

@@ -0,0 +1,33 @@
+<template>
+  <svg class="NuxtLogo" width="245" height="180" viewBox="0 0 452 342" xmlns="http://www.w3.org/2000/svg">
+    <g fill="none" fill-rule="evenodd">
+      <path
+        d="M139 330l-1-2c-2-4-2-8-1-13H29L189 31l67 121 22-16-67-121c-1-2-9-14-22-14-6 0-15 2-22 15L5 303c-1 3-8 16-2 27 4 6 10 12 24 12h136c-14 0-21-6-24-12z"
+        fill="#00C58E"
+      />
+      <path
+        d="M447 304L317 70c-2-2-9-15-22-15-6 0-15 3-22 15l-17 28v54l39-67 129 230h-49a23 23 0 0 1-2 14l-1 1c-6 11-21 12-23 12h76c3 0 17-1 24-12 3-5 5-14-2-26z"
+        fill="#108775"
+      />
+      <path
+        d="M376 330v-1l1-2c1-4 2-8 1-12l-4-12-102-178-15-27h-1l-15 27-102 178-4 12a24 24 0 0 0 2 15c4 6 10 12 24 12h190c3 0 18-1 25-12zM256 152l93 163H163l93-163z"
+        fill="#2F495E"
+        fill-rule="nonzero"
+      />
+    </g>
+  </svg>
+</template>
+<style>
+.NuxtLogo {
+  animation: 1s appear;
+}
+
+@keyframes appear {
+  0% {
+    opacity: 0;
+  }
+  100% {
+    opacity: 1;
+  }
+}
+</style>

+ 7 - 0
admin/components/README.md

@@ -0,0 +1,7 @@
+# COMPONENTS
+
+**This directory is not required, you can delete it if you don't want to use it.**
+
+The components directory contains your Vue.js Components.
+
+_Nuxt.js doesn't supercharge these components._

+ 12 - 0
admin/jsconfig.json

@@ -0,0 +1,12 @@
+{
+  "compilerOptions": {
+    "baseUrl": ".",
+    "paths": {
+      "~/*": ["./*"],
+      "@/*": ["./*"],
+      "~~/*": ["./*"],
+      "@@/*": ["./*"]
+    }
+  },
+  "exclude": ["node_modules", ".nuxt", "dist"]
+}

+ 7 - 0
admin/layouts/README.md

@@ -0,0 +1,7 @@
+# LAYOUTS
+
+**This directory is not required, you can delete it if you don't want to use it.**
+
+This directory contains your Application Layouts.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/views#layouts).

+ 55 - 0
admin/layouts/default.vue

@@ -0,0 +1,55 @@
+<template>
+  <div>
+    <nuxt />
+  </div>
+</template>
+
+<style>
+html {
+  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI',
+    Roboto, 'Helvetica Neue', Arial, sans-serif;
+  font-size: 16px;
+  word-spacing: 1px;
+  -ms-text-size-adjust: 100%;
+  -webkit-text-size-adjust: 100%;
+  -moz-osx-font-smoothing: grayscale;
+  -webkit-font-smoothing: antialiased;
+  box-sizing: border-box;
+}
+
+*,
+*:before,
+*:after {
+  box-sizing: border-box;
+  margin: 0;
+}
+
+.button--green {
+  display: inline-block;
+  border-radius: 4px;
+  border: 1px solid #3b8070;
+  color: #3b8070;
+  text-decoration: none;
+  padding: 10px 30px;
+}
+
+.button--green:hover {
+  color: #fff;
+  background-color: #3b8070;
+}
+
+.button--grey {
+  display: inline-block;
+  border-radius: 4px;
+  border: 1px solid #35495e;
+  color: #35495e;
+  text-decoration: none;
+  padding: 10px 30px;
+  margin-left: 15px;
+}
+
+.button--grey:hover {
+  color: #fff;
+  background-color: #35495e;
+}
+</style>

+ 8 - 0
admin/middleware/README.md

@@ -0,0 +1,8 @@
+# MIDDLEWARE
+
+**This directory is not required, you can delete it if you don't want to use it.**
+
+This directory contains your application middleware.
+Middleware let you define custom functions that can be run before rendering either a page or a group of pages.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing#middleware).

+ 63 - 0
admin/nuxt.config.js

@@ -0,0 +1,63 @@
+
+export default {
+  mode: 'universal',
+  /*
+  ** Headers of the page
+  */
+  head: {
+    title: process.env.npm_package_name || '',
+    meta: [
+      { charset: 'utf-8' },
+      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
+      { hid: 'description', name: 'description', content: process.env.npm_package_description || '' }
+    ],
+    link: [
+      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
+    ]
+  },
+  /*
+  ** Customize the progress-bar color
+  */
+  loading: { color: '#fff' },
+  /*
+  ** Global CSS
+  */
+  css: [
+  ],
+  /*
+  ** Plugins to load before mounting the App
+  */
+  plugins: [
+  ],
+  /*
+  ** Nuxt.js dev-modules
+  */
+  buildModules: [
+  ],
+  /*
+  ** Nuxt.js modules
+  */
+  modules: [
+    // Doc: https://bootstrap-vue.js.org
+    'bootstrap-vue/nuxt',
+    // Doc: https://axios.nuxtjs.org/usage
+    '@nuxtjs/axios',
+    '@nuxtjs/pwa',
+  ],
+  /*
+  ** Axios module configuration
+  ** See https://axios.nuxtjs.org/options
+  */
+  axios: {
+  },
+  /*
+  ** Build configuration
+  */
+  build: {
+    /*
+    ** You can extend webpack config here
+    */
+    extend (config, ctx) {
+    }
+  }
+}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 9549 - 0
admin/package-lock.json


+ 21 - 0
admin/package.json

@@ -0,0 +1,21 @@
+{
+  "name": "admin",
+  "version": "1.0.0",
+  "description": "My ultimate Nuxt.js project",
+  "author": "허용운",
+  "private": true,
+  "scripts": {
+    "dev": "nuxt",
+    "build": "nuxt build",
+    "start": "nuxt start",
+    "generate": "nuxt generate"
+  },
+  "dependencies": {
+    "nuxt": "^2.0.0",
+    "bootstrap-vue": "^2.0.0",
+    "bootstrap": "^4.1.3",
+    "@nuxtjs/axios": "^5.3.6",
+    "@nuxtjs/pwa": "^3.0.0-0"
+  },
+  "devDependencies": {}
+}

+ 6 - 0
admin/pages/README.md

@@ -0,0 +1,6 @@
+# PAGES
+
+This directory contains your Application Views and Routes.
+The framework reads all the `*.vue` files inside this directory and creates the router of your application.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing).

+ 5 - 0
admin/pages/about.vue

@@ -0,0 +1,5 @@
+<template>
+  <div class="">
+    <h1>about me</h1>
+  </div>
+</template>

+ 72 - 0
admin/pages/index.vue

@@ -0,0 +1,72 @@
+<template>
+  <div class="container">
+    <div>
+      <logo />
+      <h1 class="title">
+        admin
+      </h1>
+      <h2 class="subtitle">
+        My ultimate Nuxt.js project
+      </h2>
+      <div class="links">
+        <a
+          href="https://nuxtjs.org/"
+          target="_blank"
+          class="button--green"
+        >
+          Documentation
+        </a>
+        <a
+          href="https://github.com/nuxt/nuxt.js"
+          target="_blank"
+          class="button--grey"
+        >
+          GitHub
+        </a>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+import Logo from '~/components/Logo.vue'
+
+export default {
+  components: {
+    Logo
+  }
+}
+</script>
+
+<style>
+.container {
+  margin: 0 auto;
+  min-height: 100vh;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  text-align: center;
+}
+
+.title {
+  font-family: 'Quicksand', 'Source Sans Pro', -apple-system, BlinkMacSystemFont,
+    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
+  display: block;
+  font-weight: 300;
+  font-size: 100px;
+  color: #35495e;
+  letter-spacing: 1px;
+}
+
+.subtitle {
+  font-weight: 300;
+  font-size: 42px;
+  color: #526488;
+  word-spacing: 5px;
+  padding-bottom: 15px;
+}
+
+.links {
+  padding-top: 15px;
+}
+</style>

+ 7 - 0
admin/plugins/README.md

@@ -0,0 +1,7 @@
+# PLUGINS
+
+**This directory is not required, you can delete it if you don't want to use it.**
+
+This directory contains Javascript plugins that you want to run before mounting the root Vue.js application.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/plugins).

+ 11 - 0
admin/static/README.md

@@ -0,0 +1,11 @@
+# STATIC
+
+**This directory is not required, you can delete it if you don't want to use it.**
+
+This directory contains your static files.
+Each file inside this directory is mapped to `/`.
+Thus you'd want to delete this README.md before deploying to production.
+
+Example: `/static/robots.txt` is mapped as `/robots.txt`.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static).

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 6205 - 0
admin/static/css/all.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 4723 - 0
admin/static/css/default.css


binární
admin/static/css/font-awesome/webfonts/fa-brands-400.eot


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 3459 - 0
admin/static/css/font-awesome/webfonts/fa-brands-400.svg


binární
admin/static/css/font-awesome/webfonts/fa-brands-400.ttf


binární
admin/static/css/font-awesome/webfonts/fa-brands-400.woff


binární
admin/static/css/font-awesome/webfonts/fa-brands-400.woff2


binární
admin/static/css/font-awesome/webfonts/fa-light-300.eot


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 9901 - 0
admin/static/css/font-awesome/webfonts/fa-light-300.svg


binární
admin/static/css/font-awesome/webfonts/fa-light-300.ttf


binární
admin/static/css/font-awesome/webfonts/fa-light-300.woff


binární
admin/static/css/font-awesome/webfonts/fa-light-300.woff2


binární
admin/static/css/font-awesome/webfonts/fa-regular-400.eot


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 9103 - 0
admin/static/css/font-awesome/webfonts/fa-regular-400.svg


binární
admin/static/css/font-awesome/webfonts/fa-regular-400.ttf


binární
admin/static/css/font-awesome/webfonts/fa-regular-400.woff


binární
admin/static/css/font-awesome/webfonts/fa-regular-400.woff2


binární
admin/static/css/font-awesome/webfonts/fa-solid-900.eot


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 7709 - 0
admin/static/css/font-awesome/webfonts/fa-solid-900.svg


binární
admin/static/css/font-awesome/webfonts/fa-solid-900.ttf


binární
admin/static/css/font-awesome/webfonts/fa-solid-900.woff


binární
admin/static/css/font-awesome/webfonts/fa-solid-900.woff2


binární
admin/static/favicon.ico


binární
admin/static/font/amazon-ember-regular-webfont.eot


binární
admin/static/font/amazon-ember-regular-webfont.ttf


binární
admin/static/font/amazon-ember-regular-webfont.woff


binární
admin/static/font/amazon-ember-regular-webfont.woff2


binární
admin/static/icon.png


binární
admin/static/img/amazonImg.jpg


binární
admin/static/img/arrow.gif


binární
admin/static/img/audiblelogo.png


binární
admin/static/img/avatar.png


binární
admin/static/img/cart.png


binární
admin/static/img/cartRecent4.png


binární
admin/static/img/cart_06.png


binární
admin/static/img/gift.png


binární
admin/static/img/globalImg.png


binární
admin/static/img/icons.png


binární
admin/static/img/icons2.png


binární
admin/static/img/icons3.png


binární
admin/static/img/icons4.png


binární
admin/static/img/imageUpload.png


binární
admin/static/img/logo-black.png


binární
admin/static/img/logo-black1.png


binární
admin/static/img/logo.png


binární
admin/static/img/logo1.png


binární
admin/static/img/logo2.png


binární
admin/static/img/navShipping.gif


binární
admin/static/img/placeHeadernav.gif


binární
admin/static/img/readyondevice.png


binární
admin/static/img/search.png


binární
admin/static/img/socialshare.png


binární
admin/static/img/spcBody.jpg


binární
admin/static/img/visa.gif


binární
admin/static/owner-images/brad.jpg


binární
admin/static/owner-images/george.jpg


binární
admin/static/owner-images/jk_rowling.jpg


binární
admin/static/owner-images/sony.png


binární
admin/static/owner-images/walter_isaacson.jpg


binární
admin/static/product-images/amazonImg.jpg


binární
admin/static/product-images/einstein.jpg


binární
admin/static/product-images/gameofthrones.jpg


binární
admin/static/product-images/harry_potter.jpg


binární
admin/static/product-images/ps4.jpg


binární
admin/static/product-images/steve_jobs.jpg


+ 10 - 0
admin/store/README.md

@@ -0,0 +1,10 @@
+# STORE
+
+**This directory is not required, you can delete it if you don't want to use it.**
+
+This directory contains your Vuex Store files.
+Vuex Store option is implemented in the Nuxt.js framework.
+
+Creating a file in this directory automatically activates the option in the framework.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/vuex-store).

middlewares/upload-photo.js → server/middlewares/upload-photo.js


models/category.js → server/models/category.js


models/owner.js → server/models/owner.js


models/product.js → server/models/product.js


models/user.js → server/models/user.js


package-lock.json → server/package-lock.json


package.json → server/package.json


routes/category.js → server/routes/category.js


routes/owner.js → server/routes/owner.js


routes/products.js → server/routes/products.js


server.js → server/server.js