Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOduneye committed Sep 8, 2023
1 parent 5553659 commit d66451d
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 23 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ jobs:
cd client
yarn install
- name: Bundle React Native assets
run: |
cd client
react-native bundle --entry-file App.tsx --platform android --dev false --bundle-output /dev/null --assets-dest /dev/null
- name: Build Go app
run: |
cd server
Expand Down
2 changes: 1 addition & 1 deletion client/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = {
'react/react-in-jsx-scope': 'off'
},
env: {
// 'jest/globals': true
'jest/globals': true
}
};
5 changes: 0 additions & 5 deletions docs/Frontend Resources.md → client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,9 @@
#### TypeScript
[TypeScript Documentation](https://www.typescriptlang.org/docs/)

[TypeScript for Java Devs](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes-oop.html)

[TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/intro.html)

[Learning TypeScript (book)](https://learning.oreilly.com/library/view/learning-typescript/9781098110321/)

[Programming TypeScript (book)](https://learning.oreilly.com/library/view/programming-typescript/9781492037644/)

Intro to typescript
Web dev
React Native
15 changes: 12 additions & 3 deletions client/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,27 @@
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": ["**/*"],
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
"supportsTablet": true,
"bundleIdentifier": "com.legacy"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./src/assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
}
},
"package": "com.davidoduneye.client"
},
"web": {
"favicon": "./src/assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "57aafa2e-4023-4046-b22f-478e3146cae0"
}
}
}
}
8 changes: 5 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
Expand All @@ -16,13 +16,15 @@
"expo-status-bar": "~1.6.0",
"jest": "^29.6.4",
"react": "18.2.0",
"react-native": "0.72.4"
"react-native": "0.72.4",
"expo-splash-screen": "~0.20.5"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.1.6",
"@react-native-community/eslint-config": "^3.2.0",
"@types/react": "~18.0.14",
"@types/react-native": "^0.72.2",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.48.0",
"eslint-plugin-jest": "^27.2.3",
Expand Down
26 changes: 25 additions & 1 deletion client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@
resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.72.0.tgz#14294b7ed3c1d92176d2a00df48456e8d7d62212"
integrity sha512-285lfdqSXaqKuBbbtP9qL2tDrfxdOFtIMvkKadtleRQkdOxx+uzGvFr82KHmc/sSiMtfXGp7JnFYWVh4sFl7Yw==

"@react-native/virtualized-lists@^0.72.8":
"@react-native/virtualized-lists@^0.72.4", "@react-native/virtualized-lists@^0.72.8":
version "0.72.8"
resolved "https://registry.yarnpkg.com/@react-native/virtualized-lists/-/virtualized-lists-0.72.8.tgz#a2c6a91ea0f1d40eb5a122fb063daedb92ed1dc3"
integrity sha512-J3Q4Bkuo99k7mu+jPS9gSUSgq+lLRSI/+ahXNwV92XgJ/8UgOTxu2LPwhJnBk/sQKxq7E8WkZBnBiozukQMqrw==
Expand Down Expand Up @@ -2328,6 +2328,23 @@
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf"
integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==

"@types/react-native@^0.72.2":
version "0.72.2"
resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.72.2.tgz#27c931a899c555b28e20cdd12e570b017808de96"
integrity sha512-/eEjr04Zqo7mTMszuSdrLx90+j5nWhDMMOgtnKZfAYyV3RwmlpSb7F17ilmMMxZWJY81n/JZ4e6wdhMJFpjrCg==
dependencies:
"@react-native/virtualized-lists" "^0.72.4"
"@types/react" "*"

"@types/react@*":
version "18.2.21"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.21.tgz#774c37fd01b522d0b91aed04811b58e4e0514ed9"
integrity sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/react@~18.0.14":
version "18.0.38"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.38.tgz#02a23bef8848b360a0d1dceef4432c15c21c600c"
Expand Down Expand Up @@ -4201,6 +4218,13 @@ [email protected]:
compare-versions "^3.4.0"
invariant "^2.2.4"

expo-splash-screen@~0.20.5:
version "0.20.5"
resolved "https://registry.yarnpkg.com/expo-splash-screen/-/expo-splash-screen-0.20.5.tgz#ebeba3e3977606830f74f506ab2cc25042bb7efd"
integrity sha512-nTALYdjHpeEA30rdOWSguxn72ctv8WM8ptuUgpfRgsWyn4i6rwYds/rBXisX69XO5fg+XjHAQqijGx/b28+3tg==
dependencies:
"@expo/prebuild-config" "6.2.6"

expo-status-bar@~1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/expo-status-bar/-/expo-status-bar-1.6.0.tgz#e79ffdb9a84d2e0ec9a0dc7392d9ab364fefa9cf"
Expand Down
6 changes: 1 addition & 5 deletions docs/Backend Resources.md → server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

**Go**

- [Installing Go (Golang)](https://golang.org/doc/install)

**MongoDB**

- [Installing MongoDB](https://docs.mongodb.com/manual/installation/)
- [Installing Go (Golang)](https://golang.org/doc/install)s

**Echo Web Framework for Go**

Expand Down

0 comments on commit d66451d

Please sign in to comment.