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

[7주차] Team 페달지니 윤영준 & 박지수 미션 제출합니다. #2

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
53e96cd
Init : backend, frontend 폴더생성, frontend nextjs14.2.5버전설치
yyj0917 Dec 21, 2024
5a130e6
Refactor : backend folder 추가
yyj0917 Dec 21, 2024
f56b6a1
Chore : scrollbarhide, animate, tailwindcss.config 무사이 걸로 맞추기, tsconf…
yyj0917 Dec 22, 2024
9e30da8
Feat : main page set, Fix : register form selectbox 수정중
yyj0917 Dec 22, 2024
a921365
Fix : register selectbox 관련 오류 수정
yyj0917 Dec 22, 2024
33dd048
Feat : Register page 디자인완료 추후 form 로직 및 api 함수 공간 배정
yyj0917 Dec 22, 2024
a7315e3
Feat : login page design, form logic 아직 미정
yyj0917 Dec 22, 2024
46e0c5e
Style : button관련 style 수정
yyj0917 Dec 22, 2024
81a7167
Init : develop branch 생성
yyj0917 Dec 26, 2024
5eeadc0
Feat : zod Form 유효성 검사로직 추가, Chore : lib/zod/schema.ts 생성 및 유효성 검사 스키…
yyj0917 Dec 26, 2024
4abc7c1
Feat : SelectBox 커스텀 컴포넌트 별도 제어용 useController 구현
yyj0917 Dec 26, 2024
bd92363
Feat : vote page 생성 및 적당한 디자인
yyj0917 Dec 26, 2024
44fe3cc
Feat : demoday 단계별 세팅완료, Chore : 애니메이션용 css file 생성
yyj0917 Dec 26, 2024
78ec035
Feat : registerApi, loginApi 임시 구현, Chore : axios 설치 및 shadcn toast설치…
yyj0917 Dec 29, 2024
397a48b
Style : / page image 교체 및 priority추가
yyj0917 Dec 29, 2024
63c37fc
Fix : Login error, token 저장 수정
yyj0917 Dec 30, 2024
0051013
Merge pull request #2 from ceos-vote-20th/yyj0917
yyj0917 Dec 30, 2024
050a1ed
Feat: 프론트엔드 파트장 투표 페이지 임시 구현
jsomnium Dec 30, 2024
1ec61c9
Feat : login, register, demoday 모든 api 연결완료., Refactor : member api관련…
yyj0917 Dec 30, 2024
074c946
Feat: 프론트엔드 파트장 투표 임시 구현 완료
jsomnium Dec 30, 2024
f6849b9
Feat: 백엔드 파트장 투표 페이지
jsomnium Dec 30, 2024
4a1ce39
Merge pull request #3 from ceos-vote-20th/yyj0917
yyj0917 Dec 31, 2024
163e972
Merge pull request #4 from jsomnium/jsomnium
jsomnium Dec 31, 2024
541a5fb
Style : scrollbar-hide
yyj0917 Jan 3, 2025
268aa4b
Fix : build시localStorage error 해결
yyj0917 Jan 3, 2025
784dcd7
Refactor : Code refactoring 사용하지 않는 변수 제거, 쓸데없는 주석제거, Comment : 함수관련 …
yyj0917 Jan 3, 2025
52496da
Refactor : auth.ts baseURL로 변경, 안 쓰는 모듈제거
yyj0917 Jan 3, 2025
b23d0ea
Merge pull request #5 from ceos-vote-20th/yyj0917
yyj0917 Jan 3, 2025
fd77d49
feat: 프론트 리스트 조회 API 구현
jsomnium Jan 3, 2025
006a2e7
Feat: 파트 투표, 결과 조회 API 구현
jsomnium Jan 3, 2025
6b6f265
Feat: 프론트, 백 API 연결
jsomnium Jan 3, 2025
5aa045b
Fix: 라우터 호출 안되는 에러 수정
jsomnium Jan 3, 2025
5a58823
Feat: 프론트, 백 투표 결과 조회
jsomnium Jan 3, 2025
f21eccd
Merge pull request #6 from ceos-vote-20th/jsom2
jsomnium Jan 3, 2025
98e664b
Fix : pr전 최종 에러 수정
yyj0917 Jan 4, 2025
abfdf25
Merge pull request #7 from ceos-vote-20th/develop
yyj0917 Jan 4, 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
1 change: 1 addition & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
백엔드
41 changes: 41 additions & 0 deletions frontend/.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 frontend/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.
21 changes: 21 additions & 0 deletions frontend/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
Comment on lines +13 to +19
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

절대 경로 쓰신 거 좋아요~~ 이제 마지막 과제라서 그런가 다들 절대경로를 잘 활용하고 계시더라구요!

"iconLibrary": "lucide"
}
16 changes: 16 additions & 0 deletions frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
});

const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
];

export default eslintConfig;
Comment on lines +1 to +16

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

현재 프로젝트 전반적으로 lint가 적용되고 있는지 한번 확인해주세요! npm run lint 명령어를 이용하여 린팅을 하는데, 해당 mjs 확장자의 파일이 적용되지 않고 eslintrc.json이 생성되는 것 같습니다.

12 changes: 12 additions & 0 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
use: ["@svgr/webpack"],
});
return config;
},
};

export default nextConfig;
Loading