Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ add ] README, assets #214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
327 changes: 324 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# TEAM LOGO

## 🌱YORAMYORAM
<div align="center">
<img src="https://user-images.githubusercontent.com/114714566/212859073-86cb8fb4-f9d5-4630-8cf8-aa6fa107039b.png" />
</div>

## 서비스 기획의도

📌최근 매장 내 빨대 없애기, 편의점 비닐봉투 사용금지 등 많은 기업들도 환경보호에 관심을 가지면서

Expand All @@ -18,43 +23,359 @@
제로웨이스팅 상품들을 온라인에서도 거래할 수 있는 온라인 샵을 마련함으로써 소비자들의 제로웨이스팅 생활화를 도모하고자 합니다.

## 🌱팀원소개

![다운로드](https://user-images.githubusercontent.com/114714566/212860285-5c187191-7d6e-4fc9-949d-67ca06c04f78.png)

## 🌱FrontEnd 소개

### 백송희

📧[email protected]<br/>
📝https://velog.io/@badassong

- 디자인
- 상품(등록,수정,삭제), 로그인 , 로그아웃, 상품찜, 결제
- 장바구니 등록, 상품 상세페이지

### 김경민

📧[email protected]<br/>
📝https://velog.io/@dhkdwb789

- 지도, 마이페이지, 장바구니 조회, 리스트 조회
- GCP 배포
- 발표 자료 제작

### 김상도

📧[email protected]<br/>
📝https://velog.io/@sangdo1113

- 회원가입, 아이디찾기, 비밀번호 재설정
- 댓글(등록,수정,삭제)
- Git 관리[FE]

### 지소라(풀스택)

📧[email protected]<br/>
📝https://soraji.github.io/

- 카테고리, 검색

<br><br>

# 시연 GIF

메인페이지

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/main.gif" style="height:285px">
<img src="assets/(m)main.gif" style="height:400px">
</div>

<br>

<br>

---

소개페이지

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/introduction.gif" style="height:285px">
<img src="assets/(m)intro.gif" style="height:400px">
</div>

<br>

<br>

---

회원가입

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/signup.gif" style="height:285px">
<img src="assets/(m)signup.gif" style="height:400px">
</div>

<br>

<br>

---

로그인페이지

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/login.gif" style="height:285px">
<img src="assets/(m)login.gif" style="height:400px">
</div>

<br>

<br>

---

오프라인 지도([스마트서울맵 api](https://map.seoul.go.kr/smgis2/openApi)사용)

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/offline.gif" style="height:285px">
<img src="assets/(m)offline.gif" style="height:400px">
</div>

<br>

<br>

---

상품목록

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/list.gif" style="height:285px">
<img src="assets/(m)list.gif" style="height:400px">
</div>

<br>

<br>

상품검색

<div style="display:flex; justify-content:center;">
<img src="assets/search.gif" style="height:400px">
</div>

<br>

<br>

---

상품 상세페이지

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/detail.gif" style="height:285px">
<img src="assets/(m)detail.gif" style="height:400px">
</div>

<br>

<br>

---

찜목록

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/wishlist.gif" style="height:285px">
<img src="assets/(m)wishlist.gif" style="height:400px">
</div>

<br>

<br>

---

장바구니

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/cart.gif" style="height:285px">
<img src="assets/(m)cart.gif" style="height:400px">
</div>

<br>

<br>

---

상품등록

<div style="display:flex;flex-direction:row;justify-content:space-between;align-items:center">
<img src="assets/register.gif" style="height:285px">
<img src="assets/(m)register.gif" style="height:400px">
</div>

<br>

<br>

## 🌱기술스택

![다운로드](https://user-images.githubusercontent.com/114714566/212859981-99d21754-286b-4e15-8fcf-0110058da6f5.png)

## 🌱Wireframe
# ERD

<img width="1155" alt="스크린샷 2023-01-17 오후 6 23 46" src="https://user-images.githubusercontent.com/114714566/212860123-58963954-6467-4450-8e35-6ce55a9faf26.png">

<br><br>

# API DOCS

<img width="952" alt="스크린샷 2023-01-17 오후 6 31 37" src="https://user-images.githubusercontent.com/114714566/212861655-c96514a5-2105-4e05-8d9f-4c30296e7356.png">

<br><br>

# 서버 폴더구조

```
┣ 📂.vscode
┃ ┗ 📜settings.json
┣ 📂frontend
┃ ┗ 📜payment.html
┣ 📂src
┃ ┣ 📂apis
┃ ┃ ┣ 📂auth
┃ ┃ ┃ ┣ 📂interfaces
┃ ┃ ┃ ┃ ┗ 📜auth-service.interface.ts
┃ ┃ ┃ ┣ 📜auth.module.ts
┃ ┃ ┃ ┣ 📜auth.resolver.ts
┃ ┃ ┃ ┗ 📜auth.service.ts
┃ ┃ ┣ 📂comments
┃ ┃ ┃ ┣ 📂dto
┃ ┃ ┃ ┃ ┗ 📜create-comment.input.ts
┃ ┃ ┃ ┃ ┗ 📜update-comment.input.ts
┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┗ 📜comment.entity.ts
┃ ┃ ┃ ┣ 📂interfaces
┃ ┃ ┃ ┃ ┗ 📜comments-service.interface.ts
┃ ┃ ┃ ┣ 📜comments.module.ts
┃ ┃ ┃ ┣ 📜comments.resolver.ts
┃ ┃ ┃ ┗ 📜comments.service.ts
┃ ┃ ┣ 📂iamport
┃ ┃ ┃ ┗ 📜iamport.service.ts
┃ ┃ ┣ 📂payment
┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┗ 📜payment.entity.ts
┃ ┃ ┃ ┣ 📂interface
┃ ┃ ┃ ┃ ┗ 📜payment.interface.ts
┃ ┃ ┃ ┣ 📜payment.module.ts
┃ ┃ ┃ ┣ 📜payment.resolver.ts
┃ ┃ ┃ ┗ 📜payment.service.ts
┃ ┃ ┣ 📂phone
┃ ┃ ┃ ┣ 📜phone.module.ts
┃ ┃ ┃ ┣ 📜phone.resolver.ts
┃ ┃ ┃ ┗ 📜phone.service.ts
┃ ┃ ┣ 📂productDetailImages
┃ ┃ ┃ ┣ 📂interfaces
┃ ┃ ┃ ┃ ┗ 📜productsDetailImages-service.interface.ts
┃ ┃ ┃ ┣ 📜productsDetailImages.module.ts
┃ ┃ ┃ ┣ 📜productsDetailImages.resolver.ts
┃ ┃ ┃ ┗ 📜productsDetailImages.service.ts
┃ ┃ ┣ 📂productimages
┃ ┃ ┃ ┣ 📂interfaces
┃ ┃ ┃ ┃ ┗ 📜productsImages-service.interface.ts
┃ ┃ ┃ ┣ 📜productsImages.module.ts
┃ ┃ ┃ ┣ 📜productsImages.resolver.ts
┃ ┃ ┃ ┗ 📜productsImages.service.ts
┃ ┃ ┣ 📂products
┃ ┃ ┃ ┣ 📂dto
┃ ┃ ┃ ┃ ┗ 📜create-product.input.ts
┃ ┃ ┃ ┃ ┗ 📜update-product.input.ts
┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┗ 📜product.entity.ts
┃ ┃ ┃ ┣ 📂interfaces
┃ ┃ ┃ ┃ ┗ 📜products-service.interface.ts
┃ ┃ ┃ ┣ 📜product.module.ts
┃ ┃ ┃ ┣ 📜product.resolver.ts
┃ ┃ ┃ ┗ 📜product.service.ts
┃ ┃ ┣ 📂productsCart
┃ ┃ ┃ ┣ 📂dto
┃ ┃ ┃ ┃ ┗ 📜createProductCart.input.ts
┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┗ 📜productCart.entity.ts
┃ ┃ ┃ ┣ 📜productCart.module.ts
┃ ┃ ┃ ┣ 📜productCart.resolver.ts
┃ ┃ ┃ ┗ 📜productCart.service.ts
┃ ┃ ┣ 📂productsCatrgories
┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┗ 📜productCategory.entity.ts
┃ ┃ ┃ ┣ 📂interface
┃ ┃ ┃ ┃ ┗ 📜products-categories-service.interface.ts
┃ ┃ ┃ ┣ 📜productsCategories.module.ts
┃ ┃ ┃ ┣ 📜productsCategories.resolver.ts
┃ ┃ ┃ ┗ 📜productsCategories.service.ts
┃ ┃ ┣ 📂productsWishlists
┃ ┃ ┃ ┣ 📂dto
┃ ┃ ┃ ┃ ┗ 📜create-productwishlist.input.ts
┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┗ 📜productWishlist.entity.ts
┃ ┃ ┃ ┣ 📜productWishlist.module.ts
┃ ┃ ┃ ┣ 📜productWishlist.resolver.ts
┃ ┃ ┃ ┗ 📜productWishlist.service.ts
┃ ┃ ┣ 📂user
┃ ┃ ┃ ┣ 📂dto
┃ ┃ ┃ ┃ ┗ 📜create-user.input.ts
┃ ┃ ┃ ┃ ┗ 📜update-user.input.ts
┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┗ 📜user.entity.ts
┃ ┃ ┃ ┣ 📂interfaces
┃ ┃ ┃ ┃ ┗ 📜users-service.interface.ts
┃ ┃ ┃ ┣ 📜user.module.ts
┃ ┃ ┃ ┣ 📜user.resolver.ts
┃ ┃ ┃ ┗ 📜user.service.ts
┃ ┣ 📂commons
┃ ┃ ┣ 📂auth
┃ ┃ ┃ ┣ 📜gql-auth.guard.ts
┃ ┃ ┃ ┣ 📜jwt-access.strategy.ts
┃ ┃ ┃ ┣ 📜jwt-admin.strategy.ts
┃ ┃ ┃ ┣ 📜jwt-refresh.strategy.ts
┃ ┃ ┣ 📂filter
┃ ┃ ┃ ┗ 📜http-exception.filter.ts
┃ ┃ ┣ 📂graphql
┃ ┃ ┃ ┗ 📜schema.gql
┃ ┃ ┗ 📂types
┃ ┃ ┃ ┗ 📜context.ts
┃ ┣ 📜app.controller.ts
┃ ┣ 📜app.module.ts
┃ ┗ 📜main.ts
┣ 📂test
┃ ┣ 📜app.e2e-spec.ts
┃ ┗ 📜jest-e2e.json
┣ 📜.dockerignore
┣ 📜.env.docker
┣ 📜.eslintrc.js
┣ 📜.gitignore
┣ 📜.prettierrc
┣ 📜cloudbuild.yaml
┣ 📜docker-compose.prod.yaml
┣ 📜docker-compose.yaml
┣ 📜Dockerfile
┣ 📜Dockerfile.prod
┣ 📜gcp-file-storage.json
┣ 📜nest-cli.json
┣ 📜package.json
┣ 📜README.md
┣ 📜tsconfig.build.json
┣ 📜tsconfig.json
┗ 📜yarn.lock

```

<br><br>

# .env

```

![Wireframe](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F6233fed1-3dc7-4732-8ff3-e4ea8d8c6a1a%2FUntitled.jpg?id=54ff0d7b-5bce-45a2-b085-a92c034e10c9&table=block&spaceId=9c9b02bc-6cb6-4924-bf38-dad25e0fe77b&width=2000&userId=bedbd936-0df0-4470-a390-1e12397596f3&cache=v2)
# DB INFO on DOCKER
DATABASE_TYPE
DATABASE_HOST
DATABASE_PORT
DATABASE_USERNAME
DATABASE_PASSWORD
DATABASE_DATABASE

# TOKEN SECRET
JWT_ACCESS_SECRET
JWT_REFRESH_SECRET

IAMPORT_KEY
IAMPORT_SECRET


```
Binary file added assets/(m)cart.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)detail.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)intro.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)list.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)login.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)main.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)offline.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)register.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)signup.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/(m)wishlist.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/cart.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/cd.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/ci.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/detail.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/introduction.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/list.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/login.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/main.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/offline.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/register.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/search.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/signup.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/wishlist.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.