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

feat: 8팀 2주차 작업 내용 구현 #65

Merged
merged 37 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
eba3ad9
chore : 타입스크립트, eslint 설치
jiji-hoon96 Aug 27, 2023
98fb8a1
chore : eslint 설정완료
jiji-hoon96 Aug 27, 2023
4e35d53
chore : prettier 설치
jiji-hoon96 Aug 27, 2023
e90a0d3
chore : eslint formatting 삭제
jiji-hoon96 Aug 27, 2023
7f2f28c
chore : prettierrc 설치
jiji-hoon96 Aug 27, 2023
765bd3e
chore : 정적자원 public 으로 관리
jiji-hoon96 Aug 28, 2023
9bf0d83
chore : style 은 src 에서 관리
jiji-hoon96 Aug 28, 2023
49027c6
chore : tsconfig 설정
jiji-hoon96 Aug 28, 2023
8aa217d
chore : vanilla-extract 설치
jiji-hoon96 Aug 28, 2023
d4a42f4
chore : zustand 설치
jiji-hoon96 Aug 28, 2023
3c62af3
chore: vite 설치
jiji-hoon96 Aug 31, 2023
97c4136
chore : react, react-dom 설치
jiji-hoon96 Aug 31, 2023
44b4f0b
chore: eslintrc 설정 수정
jiji-hoon96 Aug 31, 2023
c39bfa3
chore : prettierrc 재설정
jiji-hoon96 Aug 31, 2023
7206bc6
chore : vanilla-extract 을 추가해 eslintrc 에 해당 설정 추가
jiji-hoon96 Aug 31, 2023
8aec0b4
chore : 상태관리 zustand 설치 후 eslintrc 설정 추가
jiji-hoon96 Aug 31, 2023
ec9f11f
chore : 설정 초기화 및 기본 세팅 변경
jiji-hoon96 Sep 3, 2023
4229f5f
feat : 기본적 폴더구조 잡기
jiji-hoon96 Sep 3, 2023
d893b78
chore : react-router-dom 설치
jiji-hoon96 Sep 3, 2023
983f420
feat : 구현하고자 하는 페이지 react-router-dom 이용해서 틀 생성
jiji-hoon96 Sep 3, 2023
c613133
fix : 폴더 구조 및 페이지명 수정
jiji-hoon96 Sep 3, 2023
ddd2fb4
feat : 잘못된 경로 설정
jiji-hoon96 Sep 4, 2023
1548bde
feat : 기존 작성된 html 코드, 현재 코드로 이동 및 스타일 작업 환경 설정완료
jiji-hoon96 Sep 4, 2023
c4c481c
feat : 로그인,회원가입,navbar 생성 및 스타일 적용
jiji-hoon96 Sep 5, 2023
710a655
feat : navbar css 기본설정 완료
jiji-hoon96 Sep 6, 2023
e8e0bdc
feat : navbar 기본적 ui 구성완료 및 reset.css 설정
jiji-hoon96 Sep 6, 2023
7ba0f4c
feat : App 파일 생성 및 작업진행중
jiji-hoon96 Sep 6, 2023
4c109fe
chore : tsconfig 설정 변경
jiji-hoon96 Sep 7, 2023
f7a9b87
Merge branch 'team8/jiji-hoon96' into main
jiji-hoon96 Sep 7, 2023
da53490
chore : tsconfig json 의 target 을 es6 로 변경
jiji-hoon96 Sep 7, 2023
e7799a1
feat : layout 초기화 및 화면 CSS 적용 완료
jiji-hoon96 Sep 7, 2023
14550c4
chore : vite.config.json 에서 alias @ 설정 추가
jiji-hoon96 Sep 7, 2023
7751535
feat : article 페이지 퍼블리싱 완료
jiji-hoon96 Sep 7, 2023
cf34564
refactor : import 분리
jiji-hoon96 Sep 10, 2023
a23821c
refactor : 페이지 기본 레이아웃 생성
jiji-hoon96 Sep 10, 2023
c8e1976
refactor : main 경로 상수로 관리
jiji-hoon96 Sep 10, 2023
b4b6748
feat : 엔트리 파일 구현부 삭제 및 경로 분리
jiji-hoon96 Sep 11, 2023
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
18 changes: 18 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
136 changes: 15 additions & 121 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,127 +4,21 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
node_modules
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
33 changes: 19 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# ![RealWorld Example App](./assets/logo.png)
# React + TypeScript + Vite

> ### [YOUR_FRAMEWORK] codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

### [Demo](https://demo.realworld.io/)    [RealWorld](https://github.com/gothinkster/realworld)
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

This codebase was created to demonstrate a fully fledged fullstack application built with **[YOUR_FRAMEWORK]** including CRUD operations, authentication, routing, pagination, and more.
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

We've gone to great lengths to adhere to the **[YOUR_FRAMEWORK]** community styleguides & best practices.
- Configure the top-level `parserOptions` property like this:

For more information on how to this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo.
```js
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
```


# How it works

> Describe the general architecture of your app here

# Getting started

> npm install, npm start, etc.
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Conduit</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading