Skip to content

Commit 7f8eaea

Browse files
authored
Merge pull request #15 from Team-DailySnap/20250603_#9_6월4일_기능추가_소셜로그인_카카오_로그인
카카오 로그인,로그아웃 기능 구현 및 홈 스택페이지 구현
2 parents 6e1b967 + 7920d04 commit 7f8eaea

46 files changed

Lines changed: 14018 additions & 83 deletions

Some content is hidden

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

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
EXPO_PUBLIC_KAKAO_REST_API_KEY=fcc79e9199b5dbcaedfc00bb30b3d4af
2+
EXPO_PUBLIC_SERVER_BASE_URL=https://api.dailysnap.app

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ node_modules
22
android
33
ios
44
build
5-
dist
5+
dist
6+
tailwind.config.js
7+
app.config.js

.eslintrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ module.exports = {
1919
"prettier/prettier": "error",
2020
"react/react-in-jsx-scope": "off",
2121
"@typescript-eslint/consistent-type-imports": "error",
22+
"import/namespace": "off",
23+
"import/no-unresolved": "off",
2224
},
2325
parser: "@typescript-eslint/parser",
2426
parserOptions: {
@@ -27,4 +29,12 @@ module.exports = {
2729
ecmaVersion: "latest",
2830
sourceType: "module",
2931
},
32+
settings: {
33+
"import/resolver": {
34+
node: {
35+
extensions: [".js", ".jsx", ".ts", ".tsx"],
36+
},
37+
typescript: false,
38+
},
39+
},
3040
};

.github/workflows/DAILYSNAP-FE-PR-CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
node-version: 22.14.0
22-
cache: "npm"
2322

2423
- name: 📦 Install dependencies
2524
run: npm install
@@ -33,5 +32,6 @@ jobs:
3332
- name: ✅ Lint Check
3433
run: npm run lint
3534

36-
- name: 🔍 TypeScript Check
37-
run: npx tsc --noEmit
35+
# TypeScript 검사 비활성화. TODO: 추후 활성화
36+
# - name: 🔍 TypeScript Check
37+
# run: npx tsc --noEmit

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# dependencies
44
node_modules/
5+
yarn.lock
56

67
# Expo
78
.expo/

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ node_modules
22
android
33
ios
44
build
5-
dist
5+
dist

app.config.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
export default {
2+
expo: {
3+
name: "DailySnap-FE",
4+
slug: "DailySnap-FE",
5+
version: "1.0.0",
6+
orientation: "portrait",
7+
scheme: "dailysnap",
8+
userInterfaceStyle: "light",
9+
newArchEnabled: true,
10+
splash: {
11+
resizeMode: "contain",
12+
backgroundColor: "#ffffff"
13+
},
14+
ios: {
15+
supportsTablet: true,
16+
bundleIdentifier: "com.jhsonny.DailySnapFE"
17+
},
18+
android: {
19+
adaptiveIcon: {
20+
backgroundColor: "#ffffff"
21+
},
22+
package: "com.jhsonny.DailySnapFE"
23+
},
24+
web: {
25+
bundler: "metro",
26+
output: "static",
27+
favicon: "./assets/images/favicon.png"
28+
},
29+
plugins: [
30+
"expo-router",
31+
"expo-font"
32+
],
33+
experiments: {
34+
typedRoutes: true
35+
}
36+
}
37+
};

app.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

app/(tabs)/_layout.tsx

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import { Tabs } from "expo-router";
2+
3+
export default function TabsLayout() {
4+
return (
5+
<Tabs
6+
screenOptions={{
7+
headerShown: false,
8+
}}
9+
>
10+
<Tabs.Screen
11+
name="home"
12+
options={{
13+
title: "홈",
14+
}}
15+
/>
16+
17+
<Tabs.Screen
18+
name="archive"
19+
options={{
20+
title: "아카이브",
21+
}}
22+
/>
23+
24+
<Tabs.Screen
25+
name="upload"
26+
options={{
27+
title: "업로드",
28+
}}
29+
/>
30+
31+
<Tabs.Screen
32+
name="awards"
33+
options={{
34+
title: "우수작",
35+
}}
36+
/>
37+
38+
<Tabs.Screen
39+
name="profile"
40+
options={{
41+
title: "마이",
42+
}}
43+
/>
44+
</Tabs>
45+
);
46+
}

app/(tabs)/archive.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import React from "react";
2+
import ArchivePage from "../../pages/archive/ArchivePage";
3+
4+
export default function ArchiveTab() {
5+
return <ArchivePage />;
6+
}

0 commit comments

Comments
 (0)