- Published on
TIL๐ ์ฑ๊ฐ๋ฐ ์คํฐ๋ - 5 week
- Authors
- Name
- Haneul
TIL๐ ์ฑ๊ฐ๋ฐ ์คํฐ๋ - 5 week
๊ตฌ๊ธ ์ฑ์คํ ์ด ์ถ์
ํ๋ก์ ํธ ๋ นํ ์์
์ทจ์ง & ์ค๋ช
๊ฟํ์ ๋ํ ์ ๋ณด๋ฅผ ๋ด์ ์ฑ
๊ธฐ์ ์ค๋ช
- ํ์ด์ด๋ฒ ์ด์ค
- ๋ฆฌ์กํธ ๋ค์ดํฐ๋ธ
- expo
- axios
- ...etc
"@expo/vector-icons": "^12.0.0",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/native": "^6.0.6",
"@react-navigation/stack": "^6.0.11",
"axios": "^0.24.0",
"expo": "~43.0.2",
"expo-ads-admob": "~11.0.3",
"expo-app-loading": "~1.2.1",
"expo-asset": "~8.4.3",
"expo-constants": "^13.0.0",
"expo-font": "~10.0.3",
"expo-linking": "~2.4.2",
"expo-location": "^14.0.1",
"expo-status-bar": "~1.1.0",
"firebase": "^9.6.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-gesture-handler": "~1.10.2",
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.8.0",
"react-native-uuid": "^2.0.1",
"react-native-web": "0.17.1"
์ด๋ ค์ ๋ ์ & ๊ทน๋ณต ๋ฐฉ๋ฒ
์ค์ ๊ธฐ์ ์คํ ๋ฒ์ ์ด ์ ๋ฐ์ดํธ ๋๊ฑฐ๋ deprecated ๋ ํจ์๋ ์์๋ค. ํ์ด์ด๋ฒ ์ด์ค ๋ฆฌ์ผํ์ ๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ์ฐ๋ํ ๋๋ ์ค๋ฅ๊ฐ ์์ด์ firebaseConfig์ ์๋์ ๊ฐ์ด ๋ฐ์ดํฐ๋ฒ ์ด์ค url ์ฝ๋๋ฅผ ์ถ๊ฐํด์ฃผ์๋ค.
databaseURL:
" https://sparta-react-native-11669-default-rtdb.asia-southeast1.firebasedatabase.app",
๊ทธ๋ฆฌ๊ณ AsyncStorage ๋ก uuid ๋ฅผ ์ฌ์ฉํด user Id๋ฅผ ๋ฐ๊ธํ๊ณ ์ฒ์์ ์ฑ ๋ก๋ฉ ์, ๋ก์ปฌ์คํ ๋ฆฌ์ง์ ์์ด๋๋ฅผ ์ ์ฅํ๋๋ก ๊ฐ๋ฐํ๋ค. ์ถํ, ๋ก๊ทธ์ธ ๊ธฐ๋ฅ์ ๊ตฌํํ๋ฉด ์ข์ ๊ฒ ๊ฐ๋ค.
5์ฃผ๊ฐ์ ์ฑ๊ฐ๋ฐ ์์ ํ๊ธฐ โ
5์ฃผ๋์ ๋งค์ฃผ ์์ ์ ๊ฐ๋ฐ์ผ์ง๋ฅผ ํตํด ํ์ฃผ์ ๋ฐฐ์ด๊ฒ๋ค์ ๋ณต์ตํ ์ ์์๊ณ , ์ด๋ค๊ฑธ ๋ฐฐ์ ๋์ง ๊น๋จน์ง ์๊ฒ ์ ๊ธฐ๋ก๋ ํ๋๊ฒ ๊ฐ๋ค. ๋ง์ง๋ง 5์ฃผ์ฐจ์๋ ์ค์ ๋ฐฐํฌํ ์ฑ์ ๊ณต์ ํ๋ ๊ฒ์ธ๋ฐ ๋ด๊ฐ ์ํ๋ ์ฑ์ ๋ฐ๋ก ๋ง๋ค๊ธฐ์๋ ์๊ฐ์ด ๋ถ์กฑํด ์์ผ๋ก ์ฐจ์ฐจ ๊ฐ๋ฐํ์ฌ ์ฌ๋ ค๋ณผ ์์ ์ด๋ค.
์ฐธ๊ณ : ์คํ๋ฅดํ ์ฝ๋ฉํด๋ฝ, React Naitve, Firebase,