Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
41 changes: 41 additions & 0 deletions week08/my-app/.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
7 changes: 7 additions & 0 deletions week08/my-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### 프로젝트 주요 기능 및 변경 사항

- 임시 회원가입 기능: 사용자가 아이디와 비밀번호를 입력하면 DB에 저장되며, 중복 아이디는 가입 불가.

- next/navigation을 활용해 ‘뒤로 가기’, ‘앞으로 가기’, ‘새로고침’ 기능 구현.

- Tailwind CSS를 사용하여 스타일링
18 changes: 18 additions & 0 deletions week08/my-app/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";

const eslintConfig = defineConfig([
...nextVitals,
...nextTs,
// Override default ignores of eslint-config-next.
globalIgnores([
// Default ignores of eslint-config-next:
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
]);

export default eslintConfig;
17 changes: 17 additions & 0 deletions week08/my-app/next-auth.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// next-auth.d.ts
import { DefaultJWT, DefaultSession } from "next-auth";
declare module "next-auth" {
interface Session {
user?: {
name?: string | null;
email?: string | null;
image?: string | null;
} & DefaultSession["user"];
}
interface JWT {
user?: {
name: string;
email: string;
};
}
}
7 changes: 7 additions & 0 deletions week08/my-app/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
};

export default nextConfig;
Loading