Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
fbc9bde
docs: issue, pr 템플릿 설정
hayong39 Oct 31, 2025
94a2e95
feature: React 초기 세팅
dragunshin Nov 2, 2025
8b6ec01
feat: 초기세팅
hammoooo Nov 3, 2025
3559516
feature: 세팅 재구성
dragunshin Nov 8, 2025
87af2ae
feature: 1.1.0 회원가입/로그인 페이지 구현
dragunshin Nov 8, 2025
b5459a6
feature: 1.1.1 회원가입 페이지 구현
dragunshin Nov 8, 2025
2afbd39
feature: 1.1.1 회원가입 약관 페이지 구현
dragunshin Nov 8, 2025
e7d106a
feature: 1.1.2 프로필 설정 페이지 구현
dragunshin Nov 9, 2025
c5d04bc
style: Input 수정
dragunshin Nov 9, 2025
877cc3f
feature: 1.1.1 회원가입 약관 페이지 구현
dragunshin Nov 9, 2025
5ef132a
feat: NextJs초기 세팅
hammoooo Nov 14, 2025
a6786f5
feature: API 세팅
dragunshin Nov 14, 2025
71a571a
feature: 로그인 페이지 API 연동
dragunshin Nov 14, 2025
94e808f
feature: 회원가입 페이지 API 연동
dragunshin Nov 14, 2025
c186dc5
feature: 소셜 로그인 페이지 API 연동
dragunshin Nov 14, 2025
135a64f
style: 스크롤 오류 수정
dragunshin Nov 14, 2025
546beaf
Merge dragon branch from ge-fe repo
dragunshin Nov 14, 2025
782bfac
refactor: Next.js 구성
dragunshin Nov 15, 2025
7693402
chore: vercel 자동 배포
dragunshin Nov 15, 2025
74fa01e
chore: 불필요한 루트 레벨 파일 제거 및 .gitignore 추가
dragunshin Nov 15, 2025
c299e16
fix: build.sh 경로 수정
dragunshin Nov 15, 2025
1b0a595
fix: build.sh 위치 수정
dragunshin Nov 15, 2025
0ba677f
fix: build.sh 내용 수정
dragunshin Nov 15, 2025
eab0cc7
feat: 투표 홈페이지 구현
dragunshin Nov 15, 2025
91e9d42
feat: CEOS 22nd 리스트 추가
dragunshin Nov 15, 2025
099c653
fix: 리스트 수정
dragunshin Nov 15, 2025
e68c0ea
feat: vote UI 추가
hammoooo Nov 15, 2025
496081d
feat: zod 검증
dragunshin Nov 26, 2025
98ed5db
feat: 로그인 API 연결
dragunshin Dec 2, 2025
e444efc
fix: 로그인 구현 완성
dragunshin Dec 19, 2025
a44e7bf
fix: Type Error 수정
dragunshin Dec 19, 2025
e657705
fix: Next.js 버전 업데이트
dragunshin Dec 19, 2025
b0da2c7
feature: 후보 목록 조회
dragunshin Dec 19, 2025
da840b5
투표 결과 조회 및 api 구현
hammoooo Dec 20, 2025
befc472
fix: 페이지 라우팅 수정
dragunshin Dec 20, 2025
e3ef7f5
FIX: 네트워크 오류
dragunshin Dec 22, 2025
199363e
fix: css 수정
dragunshin Dec 22, 2025
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
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/issue-form.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 'FE 이슈 생성'
description: 'FE Repo에 이슈를 생성하며, 생성된 이슈는 Jira와 연동됩니다.'
labels: [order]
title: '이슈 이름을 작성해주세요'
body:
- type: input
id: parentKey
attributes:
label: '🎫Epic Ticket Number'
description: 'Epic의 Ticket Number를 기입해주세요'
placeholder: 'GE-00'
validations:
required: true

- type: textarea
id: description
attributes:
label: '📋이슈 내용(Description)'
description: '이슈에 대해서 자세히 설명해주세요'
validations:
required: true

- type: textarea
id: tasks
attributes:
label: '☑️체크리스트(Tasks)'
description: '해당 이슈에 대해 필요한 작업목록을 작성해주세요'
value: |
- [ ] Task1
- [ ] Task2
validations:
required: true

- type: input
id: taskType
attributes:
label: '🗃️업무 유형'
description: 'Docs/Feature/Fix/Hotfix 중 하나를 작성해주세요'
placeholder: 'Docs/Feature/Fix/Hotfix'
validations:
required: true

- type: input
id: branch
attributes:
label: '🌳브랜치 이름(Branch Name)'
description: '해당 issue로 생성될 branch 이름을 소문자로 기입해주세요'
placeholder: '[type]/[branch-name]'
validations:
required: true

- type: textarea
id: references
attributes:
label: '📁참조(References)'
description: '해당 이슈과 관련된 레퍼런스를 참조해주세요'
value: |
- Reference1
validations:
required: false
17 changes: 17 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## #️⃣연관된 이슈

> #이슈번호 (깃허브 이슈 번호를 작성해주세요)

## 📝작업 내용

> 이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

## 📷스크린샷 (선택)

> 변경사항을 첨부해주세요

## 💬리뷰 요구사항(선택)

> 리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요
>
> ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?
86 changes: 86 additions & 0 deletions .github/workflows/create-jira-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Create Jira issue
on:
issues:
types:
- opened
permissions:
contents: write
issues: write
jobs:
create-issue:
name: Create Jira issue
runs-on: ubuntu-latest
steps:
- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}

- name: Checkout main code
uses: actions/checkout@v4
with:
ref: develop

- name: Issue Parser
uses: stefanbuck/github-issue-praser@v3
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/issue-form.yml

- name: Log Issue Parser
run: |
echo '${{ steps.issue-parser.outputs.jsonString }}'

- name: Convert markdown to Jira Syntax
uses: peter-evans/jira2md@v1
id: md2jira
with:
input-text: |
### Github Issue Link
- ${{ github.event.issue.html_url }}

${{ github.event.issue.body }}
mode: md2jira

- name: Create Issue
id: create
uses: atlassian/gajira-create@v3
with:
project: GE
issuetype: "${{ steps.issue-parser.outputs.issueparser_taskType }}"
summary: "${{ github.event.issue.title }}"
description: "${{ steps.md2jira.outputs.output-text }}"
fields: |
{
"parent": { "key": "${{ steps.issue-parser.outputs.issueparser_parentKey }}" },
"labels": ${{ toJson(github.event.issue.labels.*.name) }}
}

- name: Log created issue
run: echo "Jira Issue ${{ steps.issue-parser.outputs.parentKey }}/${{ steps.create.outputs.issue }} was created"

- name: Checkout develop code
uses: actions/checkout@v4
with:
ref: develop

- name: Make final branch name
id: make-branch
run: |
INPUT="${{ steps.issue-parser.outputs.issueparser_branch }}"
TICKET="${{ steps.create.outputs.issue }}"
FINAL_BRANCH=$(echo "$INPUT" | sed "s/\//\/$TICKET-/")
echo "final_branch=$FINAL_BRANCH" >> $GITHUB_OUTPUT

- name: Create branch with Ticket number
run: |
git checkout -b ${{ steps.make-branch.outputs.final_branch }}
git push origin ${{ steps.make-branch.outputs.final_branch }}

- name: Update issue title
uses: actions-cool/issues-helper@v3
with:
actions: "update-issue"
token: ${{ secrets.GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy

on:
push:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: creates output
run: sh ./build.sh

- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.AUTO_ACTIONS }}
with:
source-directory: 'output'
destination-github-username: dragunshin
destination-repository-name: next-vote-22nd
user-email: ${{ secrets.EMAIL }}
commit-message: ${{ github.event.commits[0].message }}
target-branch: main

- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Dependencies
node_modules/
package-lock.json

# Build outputs
.next/
out/
build/

# Environment variables
.env
.env.local
.env*.local

# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# OS
.DS_Store
*.swp
*.swo

# IDE
.vscode/
.idea/

# Vercel
.vercel

# Output (GitHub Actions)
output/
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
# GitHub Actions workspace is already in the repo root
# Copy only next-vote directory contents for Vercel deployment
rm -rf output
mkdir -p output
cp -R ./next-vote/* ./output/
41 changes: 41 additions & 0 deletions next-vote/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
36 changes: 36 additions & 0 deletions next-vote/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
Loading