SOPLAY 🌭Web -FullStack |
UBamtol 🦄Front-End |
Mallang-Mallang 🦄Front-End |
- 모든 components 는 React Arrow Function Component 로 작성한다.
- 컴포넌트 내부에서 style 관련 요소들은 하단에 위치 시킨다 ( 핵심 로직을 상단에 위치 )
- components 의 파일명은 UpperCamelCase로 작성
- .ts 와 .tsx 의 구분은 html 태그 유무로 구분한다.
- Next.Js
- React
- Typescript
- NextAuth ( kakao, google )
- Prisma
- Axios ( fetch로 대체 가능 )
- Tailwindcss
- headlessUI
- heroicons
./core
|-/components
|-/commons //공통 컴포넌트 정의 ex) Button, Container
|-/atoms //Recoil Atoms
|-/hooks //커스텀 hooks 정의
./pages //Client Side pages
|-/api //Server Side
./public
|-/assets //프로젝트에서 사용되는 정적이미지 파일을 저장한다.
./prisma //Prisma 파일 작성
./styles //global style 작성
.tailwind.config.js //tailwindcss 설정 작성
yarn
npx prisma migration
yarn dev