Skip to content

Commit a0798ae

Browse files
authored
Merge pull request #12 from MinJun916/express-신민준
Express 신민준
2 parents fff1391 + 9fa0f2f commit a0798ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+12547
-2366
lines changed

.gitignore

Lines changed: 131 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,134 @@
1-
node_modules
2-
# Keep environment variables out of version control
1+
# Dependencies
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
pnpm-debug.log*
7+
8+
# Environment variables
9+
.env
10+
.env.local
11+
.env.development.local
12+
.env.test.local
13+
.env.production.local
14+
15+
# Logs
16+
logs
17+
*.log
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*
21+
lerna-debug.log*
22+
23+
# Runtime data
24+
pids
25+
*.pid
26+
*.seed
27+
*.pid.lock
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage/
31+
*.lcov
32+
33+
# nyc test coverage
34+
.nyc_output
35+
36+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
37+
.grunt
38+
39+
# Bower dependency directory (https://bower.io/)
40+
bower_components
41+
42+
# node-waf configuration
43+
.lock-wscript
44+
45+
# Compiled binary addons (https://nodejs.org/api/addons.html)
46+
build/Release
47+
48+
# Dependency directories
49+
node_modules/
50+
jspm_packages/
51+
52+
# TypeScript cache
53+
*.tsbuildinfo
54+
55+
# Optional npm cache directory
56+
.npm
57+
58+
# Optional eslint cache
59+
.eslintcache
60+
61+
# Microbundle cache
62+
.rpt2_cache/
63+
.rts2_cache_cjs/
64+
.rts2_cache_es/
65+
.rts2_cache_umd/
66+
67+
# Optional REPL history
68+
.node_repl_history
69+
70+
# Output of 'npm pack'
71+
*.tgz
72+
73+
# Yarn Integrity file
74+
.yarn-integrity
75+
76+
# dotenv environment variables file
377
.env
78+
.env.test
79+
80+
# parcel-bundler cache (https://parceljs.org/)
81+
.cache
82+
.parcel-cache
83+
84+
# Next.js build output
85+
.next
86+
87+
# Nuxt.js build / generate output
88+
.nuxt
89+
dist
90+
91+
# Gatsby files
92+
.cache/
93+
public
494

95+
# Storybook build outputs
96+
.out
97+
.storybook-out
98+
99+
# Temporary folders
100+
tmp/
101+
temp/
102+
103+
# Editor directories and files
104+
.vscode/
105+
.idea/
106+
*.swp
107+
*.swo
108+
*~
109+
110+
# OS generated files
111+
.DS_Store
112+
.DS_Store?
113+
._*
114+
.Spotlight-V100
115+
.Trashes
116+
ehthumbs.db
117+
Thumbs.db
118+
119+
# Prisma
5120
/generated/prisma
121+
prisma/migrations/*/migration.sql
122+
123+
# Build outputs
124+
dist/
125+
build/
126+
127+
# Test coverage
128+
coverage/
129+
130+
# Local development
131+
.env.local
132+
.env.development.local
133+
.env.test.local
134+
.env.production.local
File renamed without changes.

http/auth.http

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
### 인증 API 테스트
2+
### 서버 실행: npm run dev (포트 3000)
3+
4+
@base_url = http://localhost:3000
5+
6+
### ===========================================
7+
### 1. 회원가입
8+
### ===========================================
9+
POST {{base_url}}/auth/signup
10+
Content-Type: application/json
11+
12+
{
13+
"email": "[email protected]",
14+
"nickname": "테스트유저",
15+
"password": "password123"
16+
}
17+
18+
### ===========================================
19+
### 2. 로그인
20+
### ===========================================
21+
POST {{base_url}}/auth/signin
22+
Content-Type: application/json
23+
24+
{
25+
"email": "[email protected]",
26+
"password": "password123"
27+
}
28+
29+
### ===========================================
30+
### 3. 잘못된 이메일로 로그인
31+
### ===========================================
32+
POST {{base_url}}/auth/signin
33+
Content-Type: application/json
34+
35+
{
36+
"email": "[email protected]",
37+
"password": "password123"
38+
}
39+
40+
### ===========================================
41+
### 4. 잘못된 비밀번호로 로그인
42+
### ===========================================
43+
POST {{base_url}}/auth/signin
44+
Content-Type: application/json
45+
46+
{
47+
"email": "[email protected]",
48+
"password": "wrongpassword"
49+
}
50+
51+
### ===========================================
52+
### 5. 토큰 갱신
53+
### ===========================================
54+
POST {{base_url}}/auth/refresh
55+
56+
### ===========================================
57+
### 6. 필수 필드 누락 테스트
58+
### ===========================================
59+
POST {{base_url}}/auth/signin
60+
Content-Type: application/json
61+
62+
{
63+
"email": "[email protected]"
64+
}
65+
66+
### ===========================================
67+
### 7. 빈 요청 테스트
68+
### ===========================================
69+
POST {{base_url}}/auth/signin
70+
Content-Type: application/json
71+
72+
{}

0 commit comments

Comments
 (0)