Skip to content
Open
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
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ dist/
build/
*.tsbuildinfo

# Environment variables
.env
.env.local
.env.*.local

# IDE
.vscode/
.idea/
Expand Down
219 changes: 0 additions & 219 deletions backend-nest/VALIDATORS_REFERENCE.md

This file was deleted.

2 changes: 2 additions & 0 deletions mobile-expo/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEST_BASE_URL=http://localhost:4200/api/v1
EXPRESS_BASE_URL=http://localhost:4300/api/v1
38 changes: 38 additions & 0 deletions mobile-expo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

# dependencies
node_modules/

# Expo
.expo/
dist/
web-build/
expo-env.d.ts

# Native
.kotlin/
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# Metro
.metro-health-check*

# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# macOS
.DS_Store
*.pem

# typescript
*.tsbuildinfo

# generated native folders
/ios
/android
13 changes: 13 additions & 0 deletions mobile-expo/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { ErrorBoundary } from './src/components';
import { AppNavigator } from './src/navigation';
import { AppProvider } from './src/providers';

export default function App() {
return (
<ErrorBoundary>
<AppProvider>
<AppNavigator />
</AppProvider>
</ErrorBoundary>
);
}
30 changes: 30 additions & 0 deletions mobile-expo/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"expo": {
"name": "mobile-expo",
"slug": "mobile-expo",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"newArchEnabled": true,
"splash": {
"image": "./assets/splash-icon.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"edgeToEdgeEnabled": true,
"predictiveBackGestureEnabled": false
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
Binary file added mobile-expo/assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mobile-expo/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mobile-expo/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mobile-expo/assets/splash-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions mobile-expo/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
'module-resolver',
{
root: ['./src'],
alias: {
'@': './src',
},
extensions: [
'.ios.ts',
'.android.ts',
'.native.ts',
'.web.ts',
'.ts',
'.ios.tsx',
'.android.tsx',
'.native.tsx',
'.web.tsx',
'.tsx',
'.jsx',
'.js',
'.json',
],
},
],
],
};
};

8 changes: 8 additions & 0 deletions mobile-expo/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { registerRootComponent } from 'expo';

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);
Loading