Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ahrtz/store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

270 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ƒ STORE - ๋…ผ๋ฌธ ์š”์•ฝ ์„œ๋น„์Šค

๋กœ๊ณ 

STORE์€ ๋…ผ๋ฌธ ๊ฒ€์ƒ‰, ์š”์•ฝ, ์ถ”์ฒœ์„ ์œ„ํ•œ ์›นํŽ˜์ด์ง€ ์ž…๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ ์š”์•ฝ์„ ์›ํ•˜๋Š” ๋…ผ๋ฌธ์„ pdf ํŒŒ์ผ๋กœ ์—…๋กœ๋“œ ์‹œ, ๋…ผ๋ฌธ ์š”์•ฝ ๋ฐ ๋น„์Šทํ•œ ๋…ผ๋ฌธ์„ ์ถ”์ฒœ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  1. Common Service
    • ๋…ผ๋ฌธ ๊ฒ€์ƒ‰ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
    • ๊ด€์‹ฌ์žˆ๋Š” ๋…ผ๋ฌธ ์Šคํฌ๋žฉ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
  2. Summary Service
    • ๋…ผ๋ฌธ ์š”์•ฝ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
    • ํ‚ค์›Œ๋“œ, ์ด๋ฏธ์ง€, ์›Œ๋“œํด๋ผ์šฐ๋“œ๋ฅผ ๋…ผ๋ฌธ์—์„œ ์ถ”์ถœํ•ด ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
  3. Recommend Service
    • ๋…ผ๋ฌธ ์ถ”์ฒœ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
    • ์š”์•ฝ๋œ ๋…ผ๋ฌธ๊ณผ ๋น„์Šทํ•œ ๋…ผ๋ฌธ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.
    • ์ƒ์„ธ๋ณด๊ธฐํ•œ ๋…ผ๋ฌธ๊ณผ ๋น„์Šทํ•œ ๋…ผ๋ฌธ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.

์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•ด ์‚ฌ์ดํŠธ๋ฅผ ํ™•์ธํ•˜์„ธ์š” ๐Ÿ˜„

๐Ÿ“Œ ๋ชฉ์ฐจ

๐Ÿ“ƒ STORE - ๋…ผ๋ฌธ ์š”์•ฝ ์„œ๋น„์Šค

๐Ÿƒ ์‹œ์ž‘ํ•˜๊ธฐ

์•„๋ž˜ ๋ฐฉ๋ฒ•์„ ๋”ฐ๋ฅด์‹œ๋ฉด ํ”„๋กœ์ ํŠธ๋ฅผ ์‹คํ–‰์‹œํ‚ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์‹œ์ž‘ํ•˜๊ธฐ์— ์•ž์„œ

  • Windows 10
  • Python 3.6.8
  • Node.js 8.10.0
  • SQLite3

์„ค์น˜ํ•˜๊ธฐ

  1. ๊นƒํ—™์˜ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ฅผ ํด๋ก ํ•ฉ๋‹ˆ๋‹ค.

    $ git clone https://lab.ssafy.com/s03-bigdata-sub3/s03p23a406.git
  2. npm์„ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.

    $ npm install

์‹คํ–‰ํ•˜๊ธฐ

STORE ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค:

  1. ๋ฐฑ์—”๋“œ ์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

    • IDE์— import ํ›„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

      $ python manage.py makemigrations
      $ python manage.py migrate
      $ python manage.py runserver 8080
  2. ํ”„๋ก ํŠธ์—”๋“œ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

    $ npm runserve

๋ฐฐํฌํ•˜๊ธฐ

ํ•ด๋‹น ์„œ๋น„์Šค๋Š” AWS EC2๋ฅผ ์ด์šฉํ•˜์—ฌ ๋ฐฐํฌํ•˜์˜€์Šต๋‹ˆ๋‹ค. ์‚ฌ์ „์— ์—ฌ๊ธฐ๋ฅผ ์ฐธ๊ณ ํ•ด์„œ AWS EC2๊ณ„์ •์„ ์ƒ์„ฑํ•˜์„ธ์š”.

๋ฐฐํฌ๋ฅผ ํ•˜๊ธฐ์œ„ํ•ด์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค:

  1. AWS EC2 ์ธ์Šคํ„ด์Šค ์ƒ์„ฑ

  2. git repository clone

  3. ํ•„์š”ํ•œ ํŒจํ‚ค์ง€ ๋‹ค์šด๋กœ๋“œ

    $ pip3 install -r requirement.txt
  4. JDK ์„ค์น˜ (ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ •)

  5. python manage.py runserver 0:8080 (์„œ๋ฒ„ ์‹คํ–‰)

  6. npm build (dist ํด๋” ์ƒ์„ฑ)

๋ฐ๋ชจ

์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”.

๐ŸŒ ์ง€์›ํ•˜๋Š” ๋ธŒ๋ผ์šฐ์ €

ํฌ๋กฌ ์‚ฌํŒŒ๋ฆฌ edge firefox
latest latest latest latest

๐Ÿ› ๏ธ โ€‹์‚ฌ์šฉ๋œ ๋„๊ตฌ

  • Vue.js 2.6.11
  • vue/cli 4.4.6
  • npm 6.14.8
  • Django 3.1.1
  • IDE: Visual Studio Code 1.48

๐Ÿ–ฅ๏ธ ์‚ฌ์šฉ๋œ ๊ธฐ์ˆ 

image-20201008003531560

ํ”„๋ก ํŠธ์—”๋“œ

Technology Description Official website
Vue Front-end framework https://vuejs.org/
Vue-router Routing library https://router.vuejs.org/
Vuex Global State Management library https://vuex.vuejs.org/
Axios HTTP communication library https://github.com/axios/axios

๋ฐฑ์—”๋“œ

Technology Dscription Official Website
django Container + MVC framework https://www.djangoproject.com/download/
csrf token Authentication and authorization token https://docs.djangoproject.com/en/3.1/ref/csrf/

์š”์•ฝ ์•Œ๊ณ ๋ฆฌ์ฆ˜

์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”.

์ถ”์ฒœ ์•Œ๊ณ ๋ฆฌ์ฆ˜

์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”.

๐Ÿ“ Commit Convention

  1. branch ์ข…๋ฅ˜
  • develop-[์ด๋‹ˆ์…œ] : ๊ฐ ๊ฐœ๋ฐœ์ž๋“ค์ด ์ž‘์—…ํ•˜๋Š” ๊ฐœ์ธ ๊ณต๊ฐ„.
  1. Commit ๋ฉ”์„ธ์ง€ Format
    "[type]commit message, [issue Key] "
    ex) git commit -m "[Add] <๊ธฐ๋Šฅ์„ค๋ช…>, [jira Key]"
  • Add : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€.
  • Fix : ๋ฒ„๊ทธ ์ˆ˜์ •.
  • Modify : ๊ธฐ๋Šฅ์— ๋ฒ„๊ทธ๋Š” ์—†์ง€๋งŒ, ์ฝ”๋“œ ์ˆ˜์ •.
  • Test : ํ…Œ์ŠคํŠธ์šฉ ์ฝ”๋“œ.
  • Style : ๋‹จ์ˆœ ์ฝ”๋“œ ํฌ๋ฉงํŒ….(์„ธ๋ฏธ์ฝœ๋ก  ๋ˆ„๋ฝ, ๋“ค์—ฌ์“ฐ๊ธฐ ๋“ฑ).
  • Doc : ๋ฌธ์„œ(.md ๋“ฑ) ์ˆ˜์ •.

๐Ÿ‘ค ์ €์ž

๐Ÿ“ƒ ๋ผ์ด์„ผ์Šค

Copyright (c) 2015 Juns Alen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

์ฐธ๊ณ 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •