Skip to content

Commit

Permalink
added url for dynamodb
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdjms committed Nov 1, 2024
1 parent 5f1d82a commit a5e65a7
Show file tree
Hide file tree
Showing 28 changed files with 31,410 additions and 2,368 deletions.
7 changes: 6 additions & 1 deletion .expo/devices.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"devices": []
"devices": [
{
"installationId": "99034417-DA89-4FE2-8C0A-FAD15000B11F",
"lastUsed": 1730366399629
}
]
}
4 changes: 4 additions & 0 deletions .expo/prebuild/cached-packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"dependencies": "87629292894e37c17d509c98d4726702877e443c",
"devDependencies": "5bbec9baf7257e661c1ac862d2547523f2c9516a"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions .expo/xcodebuild-error.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:9951620C-1E21-4AC5-A1F9-7B091AAFD1EA, OS:17.0.1, name:iPhone 15 }
{ platform:iOS Simulator, id:9951620C-1E21-4AC5-A1F9-7B091AAFD1EA, OS:17.0.1, name:iPhone 15 }
** BUILD FAILED **


The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/dvdjms/Library/Developer/Xcode/DerivedData/STAVolunteers-erlthbgdlcueircwbafbxowidqwe/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E000144B0.sh (in target 'FBReactNativeSpec' from project 'Pods')
Building workspace STAVolunteers with scheme STAVolunteers and configuration Debug
(2 failures)
29,144 changes: 29,144 additions & 0 deletions .expo/xcodebuild.log

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
env:
STA_API_BASE_URL: https://the-sta.com
STA_API_BASE_URL: https://the-sta.com
STA_API_VERSION: v1
FEATURES_ENABLED: ""
steps:
Expand Down
1 change: 1 addition & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ module.exports = {
features: enabledFeatures,
api: {
baseUrl: process.env.STA_API_BASE_URL ?? 'https://the-sta.com',
dynanmoUrl: process.env.STA_DYNAMO_API_URL,
version: process.env.STA_API_VERSION ?? 'v1',
apiKey: process.env.STA_API_KEY ?? '',
},
Expand Down
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { registerRootComponent } from 'expo'

Check warning on line 1 in index.js

View workflow job for this annotation

GitHub Actions / test-and-lint

Missing @file

import App from './App'

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App)
4,577 changes: 2,219 additions & 2,358 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
"name": "STA Volunteer app",
"version": "1.0.16",
"private": true,
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start --tunnel",
"start": "expo start --dev-client",
"start-clear-cache": "expo start --tunnel --clear",
"test": "jest",
"lint": "eslint .",
"lint-ci": "eslint . -c .eslintrc.ci.js --ext .js,.jsx,.ts,.tsx",
"type-check": "tsc",
"prepare": "husky install .husky",
"lint-app": "lint-staged --quiet"
"lint-app": "lint-staged --quiet",
"android": "expo run:android",
"ios": "expo run:ios"
},
"dependencies": {
"@bugsnag/expo": "^48.0.0",
Expand All @@ -25,7 +26,7 @@
"@reduxjs/toolkit": "^1.9.5",
"dayjs": "^1.11.7",
"dotenv": "^16.1.4",
"expo": "~48.0.15",
"expo": "~48.0.21",
"expo-application": "~5.1.1",
"expo-checkbox": "~2.3.1",
"expo-constants": "~14.2.1",
Expand All @@ -42,7 +43,7 @@
"moment": "^2.29.4",
"native-base": "^3.4.28",
"react": "18.2.0",
"react-native": "0.71.8",
"react-native": "0.71.14",
"react-native-calendar-events": "^2.2.0",
"react-native-calendar-picker": "^7.1.4",
"react-native-date-picker": "^4.2.13",
Expand Down
8 changes: 5 additions & 3 deletions src/Services/modules/projects/fetchAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ export default (
) =>
build.query<Projects, string>({
query: () => ({
url: `${Constants.expoConfig?.extra?.api?.baseUrl ?? ''}/${
Constants.expoConfig?.extra?.api?.version ?? ''
}/projects`,
url: `${Constants.expoConfig?.extra?.api?.dynanmoUrl}`,
// removed appending path - this was for AirTable
// ${
// Constants.expoConfig?.extra?.api?.version ?? ''
// }/projects`,
method: 'GET',
headers: {
'x-api-key': `${Constants.expoConfig?.extra?.api?.apiKey ?? ''}`,
Expand Down
2 changes: 2 additions & 0 deletions stderr_log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(node:33378) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
4 changes: 4 additions & 0 deletions stdout_log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Starting project at /Users/dvdjms/Projects/STA/New Volunteer App/Volunteer-app
Starting Metro Bundler
Waiting on http://localhost:19000
Logs for your project will appear below.

0 comments on commit a5e65a7

Please sign in to comment.