forked from fr/deguapp
		
	Added: base expo installation
This commit is contained in:
		
							
								
								
									
										35
									
								
								frontend/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								frontend/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
				
			|||||||
 | 
					# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# dependencies
 | 
				
			||||||
 | 
					node_modules/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Expo
 | 
				
			||||||
 | 
					.expo/
 | 
				
			||||||
 | 
					dist/
 | 
				
			||||||
 | 
					web-build/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Native
 | 
				
			||||||
 | 
					*.orig.*
 | 
				
			||||||
 | 
					*.jks
 | 
				
			||||||
 | 
					*.p8
 | 
				
			||||||
 | 
					*.p12
 | 
				
			||||||
 | 
					*.key
 | 
				
			||||||
 | 
					*.mobileprovision
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Metro
 | 
				
			||||||
 | 
					.metro-health-check*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# debug
 | 
				
			||||||
 | 
					npm-debug.*
 | 
				
			||||||
 | 
					yarn-debug.*
 | 
				
			||||||
 | 
					yarn-error.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# macOS
 | 
				
			||||||
 | 
					.DS_Store
 | 
				
			||||||
 | 
					*.pem
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# local env files
 | 
				
			||||||
 | 
					.env*.local
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# typescript
 | 
				
			||||||
 | 
					*.tsbuildinfo
 | 
				
			||||||
							
								
								
									
										20
									
								
								frontend/App.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								frontend/App.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					import { StatusBar } from 'expo-status-bar';
 | 
				
			||||||
 | 
					import { StyleSheet, Text, View } from 'react-native';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export default function App() {
 | 
				
			||||||
 | 
					  return (
 | 
				
			||||||
 | 
					    <View style={styles.container}>
 | 
				
			||||||
 | 
					      <Text>Open up App.js to start working on your app!</Text>
 | 
				
			||||||
 | 
					      <StatusBar style="auto" />
 | 
				
			||||||
 | 
					    </View>
 | 
				
			||||||
 | 
					  );
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const styles = StyleSheet.create({
 | 
				
			||||||
 | 
					  container: {
 | 
				
			||||||
 | 
					    flex: 1,
 | 
				
			||||||
 | 
					    backgroundColor: '#fff',
 | 
				
			||||||
 | 
					    alignItems: 'center',
 | 
				
			||||||
 | 
					    justifyContent: 'center',
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
							
								
								
									
										30
									
								
								frontend/app.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								frontend/app.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "expo": {
 | 
				
			||||||
 | 
					    "name": "deguapp",
 | 
				
			||||||
 | 
					    "slug": "deguapp",
 | 
				
			||||||
 | 
					    "version": "1.0.0",
 | 
				
			||||||
 | 
					    "orientation": "portrait",
 | 
				
			||||||
 | 
					    "icon": "./assets/icon.png",
 | 
				
			||||||
 | 
					    "userInterfaceStyle": "light",
 | 
				
			||||||
 | 
					    "splash": {
 | 
				
			||||||
 | 
					      "image": "./assets/splash.png",
 | 
				
			||||||
 | 
					      "resizeMode": "contain",
 | 
				
			||||||
 | 
					      "backgroundColor": "#ffffff"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "assetBundlePatterns": [
 | 
				
			||||||
 | 
					      "**/*"
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    "ios": {
 | 
				
			||||||
 | 
					      "supportsTablet": true
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "android": {
 | 
				
			||||||
 | 
					      "adaptiveIcon": {
 | 
				
			||||||
 | 
					        "foregroundImage": "./assets/adaptive-icon.png",
 | 
				
			||||||
 | 
					        "backgroundColor": "#ffffff"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "web": {
 | 
				
			||||||
 | 
					      "favicon": "./assets/favicon.png"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								frontend/assets/adaptive-icon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								frontend/assets/adaptive-icon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 17 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								frontend/assets/favicon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								frontend/assets/favicon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.4 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								frontend/assets/icon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								frontend/assets/icon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 22 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								frontend/assets/splash.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								frontend/assets/splash.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 46 KiB  | 
							
								
								
									
										6
									
								
								frontend/babel.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								frontend/babel.config.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					module.exports = function(api) {
 | 
				
			||||||
 | 
					  api.cache(true);
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    presets: ['babel-preset-expo'],
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
							
								
								
									
										14168
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										14168
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										21
									
								
								frontend/package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								frontend/package.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "name": "deguapp",
 | 
				
			||||||
 | 
					  "version": "1.0.0",
 | 
				
			||||||
 | 
					  "main": "node_modules/expo/AppEntry.js",
 | 
				
			||||||
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "start": "expo start",
 | 
				
			||||||
 | 
					    "android": "expo start --android",
 | 
				
			||||||
 | 
					    "ios": "expo start --ios",
 | 
				
			||||||
 | 
					    "web": "expo start --web"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "expo": "~50.0.17",
 | 
				
			||||||
 | 
					    "expo-status-bar": "~1.11.1",
 | 
				
			||||||
 | 
					    "react": "18.2.0",
 | 
				
			||||||
 | 
					    "react-native": "0.73.6"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "devDependencies": {
 | 
				
			||||||
 | 
					    "@babel/core": "^7.20.0"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "private": true
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user