Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added url for dynamodb #218

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
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
22 changes: 10 additions & 12 deletions eas.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
{
"cli": {
"appVersionSource": "remote",
"version": ">= 3.13.3"
"version": ">= 5.9.3",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {
"distribution": "store",
"autoIncrement": true
}
},
"submit": {
"production": {
"android": {
"track": "internal"
},
"ios": {
"ascAppId": "1632619020",
"appleTeamId": "48N3J4V5KM"
}
}
"production": {}
}
}
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.
Loading