Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
8ced94b
initial commit for new App
ShikhaAsrani Jan 16, 2023
6ccab40
clicking on Yogi's card opens yogi profile page
ShikhaAsrani Feb 11, 2023
233b9b6
Update Readme
ShikhaAsrani Sep 3, 2022
1b0d944
Update ReadMe
ShikhaAsrani Sep 3, 2022
78d8aab
Update ReadMe
ShikhaAsrani Sep 3, 2022
c4ebe81
minor changes in yogis
Feb 11, 2023
31bbf76
added navigation for homepage (error with lower tab in detailed pg)
utkarshnath Feb 12, 2023
a60add2
added fb login with cognito
utkarshnath Feb 18, 2023
038c2d0
added ui for login
utkarshnath Feb 24, 2023
9fa1117
added post item similar to instagram
utkarshnath Feb 24, 2023
0534cac
testing something
utkarshnath Feb 25, 2023
5eff232
app not working state
utkarshnath Feb 27, 2023
7db3a8e
installed react-native-video
utkarshnath Feb 28, 2023
50e5fb7
added text,image,video in feed (from static data)
utkarshnath Mar 1, 2023
486f697
add: yogis item
Ishaan-11 Mar 9, 2023
a07cb36
yogiprofile pt-1
Ishaan-11 Mar 10, 2023
272b6b0
add: carousel
Ishaan-11 Mar 11, 2023
0c60b13
for presentation
utkarshnath Apr 2, 2023
214f169
added get post from server
utkarshnath Apr 5, 2023
46e8152
added send likes to server
utkarshnath Apr 8, 2023
9d4827f
added comment slice and component
utkarshnath Apr 9, 2023
f5e4622
coursecard
ShikhaAsrani Apr 9, 2023
8327371
appointment booking
ShikhaAsrani Apr 14, 2023
c116c17
sessions UI
ShikhaAsrani Apr 15, 2023
0276b69
latest
ShikhaAsrani Apr 21, 2023
69ca21d
started create post page
utkarshnath May 25, 2023
05763a4
package installation
utkarshnath May 25, 2023
fd5c3f7
error
utkarshnath Jun 2, 2023
53a224f
fixed error, added a trial bottom sheet
utkarshnath Jun 2, 2023
187de49
working on all comments page
utkarshnath Jun 3, 2023
ff8ba18
working on all comments ui
utkarshnath Jun 4, 2023
787bc70
calendar page UI
ShikhaAsrani Jun 5, 2023
e00eb91
added redux for comments
utkarshnath Jun 8, 2023
994d25a
fixing date inconsistency in booking apt
ShikhaAsrani Jun 8, 2023
fb69de2
remove border
ShikhaAsrani Jun 8, 2023
22abef8
feed page
ShikhaAsrani Jun 8, 2023
88f6f41
started working on redux for sessions and userSessions
utkarshnath Jun 8, 2023
cf4358d
add selectors for redux
utkarshnath Jun 9, 2023
a1ff83f
added free trial UI
utkarshnath Jun 11, 2023
73f171a
stripe payment working
utkarshnath Jun 14, 2023
e5a9516
redux fixes to calander
ShikhaAsrani Jun 14, 2023
9361d1a
code cleanup
ShikhaAsrani Jun 15, 2023
25c9c24
UI improvements
ShikhaAsrani Jun 20, 2023
d6a67c9
did some installation fixes, app in working condition
utkarshnath Jun 15, 2023
3afcac9
added profile question pages
utkarshnath Jun 24, 2023
66c3972
user feedback page ui
utkarshnath Jun 28, 2023
612853e
added sessions page for teacher
utkarshnath Jun 28, 2023
46ac4a6
added setting to profile
utkarshnath Jun 29, 2023
e6e93ab
feed not working
utkarshnath Jul 1, 2023
51d94ca
fixed ui issues for yogi profile and calendar
utkarshnath Jul 1, 2023
9105262
added redux persist
utkarshnath Jul 1, 2023
87b0bdf
UI for create session
utkarshnath Jul 4, 2023
1cb6b07
added redux reducers and merged teacher and student apps
utkarshnath Jul 9, 2023
363adbd
integrated many server apis
utkarshnath Jul 12, 2023
6702dcb
added create session
utkarshnath Jul 13, 2023
c7cf919
fixed few issues
utkarshnath Jul 15, 2023
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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/models
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,25 @@ buck-out/
# Ruby / CocoaPods
/ios/Pods/
/vendor/bundle/

#amplify-do-not-edit-begin
amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/logs
amplify/mock-data
amplify/mock-api-resources
amplify/backend/amplify-meta.json
amplify/backend/.temp
build/
dist/
node_modules/
aws-exports.js
awsconfiguration.json
amplifyconfiguration.json
amplifyconfiguration.dart
amplify-build-config.json
amplify-gradle-config.json
amplifytools.xcconfig
.secret-*
**.sample
#amplify-do-not-edit-end
Binary file added .swp
Binary file not shown.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
# MobileApp
# MobileApp

#### Instructions to setup environment:
- preferably setup conda env
- if you don't have node installed run one of the following commands
- brew install node
- conda install -c conda-forge nodejs
- to install watchman run one of the following commands:
- brew install watchman
- pip install watchdog
- iOS specific :
- sudo gem install cocoapods
- instructions to setup Xcode and simulator : https://reactnative.dev/docs/environment-setup
- android specific :
- follow instructions here : https://reactnative.dev/docs/environment-setup

#### Instructions to run the app:
- git clone the project
- cd into root(MobileApp) folder
- run : 'npm install' OR 'yarn add'
- if any dependencies are missing 'npm install <package_name>' OR 'yarn add <package_name>' them individually
- before running the projecct on ios device : cd into ios folder and run the following command -
- pod install
- when you are ready to run the app : move to root(MobileApp) folder:
- to run iOS : npx react-native run-ios
- to run android : npx react-native run-android
17 changes: 17 additions & 0 deletions amplify/.config/project-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"projectName": "MobileApp",
"version": "2.0",
"frontend": "javascript",
"providers": [
"awscloudformation"
],
"javascript": {
"framework": "react-native",
"config": {
"SourceDir": "src",
"DistributionDir": "/",
"BuildCommand": "npm run-script build",
"StartCommand": "npm run-script start"
}
}
}
5 changes: 5 additions & 0 deletions amplify/backend/api/amplifyDatasource/parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"AppSyncApiName": "amplifyDatasource",
"DynamoDBBillingMode": "PAY_PER_REQUEST",
"DynamoDBEnableServerSideEncryption": "false"
}
11 changes: 11 additions & 0 deletions amplify/backend/api/amplifyDatasource/schema.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
type Post @model {
id: ID!
username: String!
caption: String
likes: Number!
}

enum PostStatus {
ACTIVE
INACTIVE
}
58 changes: 58 additions & 0 deletions amplify/backend/api/amplifyDatasource/stacks/CustomResources.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "An auto-generated nested stack.",
"Metadata": {},
"Parameters": {
"AppSyncApiId": {
"Type": "String",
"Description": "The id of the AppSync API associated with this project."
},
"AppSyncApiName": {
"Type": "String",
"Description": "The name of the AppSync API",
"Default": "AppSyncSimpleTransform"
},
"env": {
"Type": "String",
"Description": "The environment name. e.g. Dev, Test, or Production",
"Default": "NONE"
},
"S3DeploymentBucket": {
"Type": "String",
"Description": "The S3 bucket containing all deployment assets for the project."
},
"S3DeploymentRootKey": {
"Type": "String",
"Description": "An S3 key relative to the S3DeploymentBucket that points to the root\nof the deployment directory."
}
},
"Resources": {
"EmptyResource": {
"Type": "Custom::EmptyResource",
"Condition": "AlwaysFalse"
}
},
"Conditions": {
"HasEnvironmentParameter": {
"Fn::Not": [
{
"Fn::Equals": [
{
"Ref": "env"
},
"NONE"
]
}
]
},
"AlwaysFalse": {
"Fn::Equals": ["true", "false"]
}
},
"Outputs": {
"EmptyOutput": {
"Description": "An empty output. You may delete this if you have at least one resource above.",
"Value": ""
}
}
}
9 changes: 9 additions & 0 deletions amplify/backend/api/amplifyDatasource/transform.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Version": 5,
"ResolverConfig": {
"project": {
"ConflictHandler": "AUTOMERGE",
"ConflictDetection": "VERSION"
}
}
}
20 changes: 20 additions & 0 deletions amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"api": {
"amplifyDatasource": {
"service": "AppSync",
"providerPlugin": "awscloudformation",
"output": {
"authConfig": {
"additionalAuthenticationProviders": [],
"defaultAuthentication": {
"authenticationType": "API_KEY",
"apiKeyConfig": {
"description": "",
"apiKeyExpirationDays": 7
}
}
}
}
}
}
}
60 changes: 60 additions & 0 deletions amplify/cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"features": {
"graphqltransformer": {
"addmissingownerfields": true,
"improvepluralization": false,
"validatetypenamereservedwords": true,
"useexperimentalpipelinedtransformer": true,
"enableiterativegsiupdates": true,
"secondarykeyasgsi": true,
"skipoverridemutationinputtypes": true,
"transformerversion": 2,
"suppressschemamigrationprompt": true,
"securityenhancementnotification": false,
"showfieldauthnotification": false,
"usesubusernamefordefaultidentityclaim": true,
"usefieldnameforprimarykeyconnectionfield": false,
"enableautoindexquerynames": true,
"respectprimarykeyattributesonconnectionfield": true,
"shoulddeepmergedirectiveconfigdefaults": false,
"populateownerfieldforstaticgroupauth": true
},
"frontend-ios": {
"enablexcodeintegration": true
},
"auth": {
"enablecaseinsensitivity": true,
"useinclusiveterminology": true,
"breakcirculardependency": true,
"forcealiasattributes": false,
"useenabledmfas": true
},
"codegen": {
"useappsyncmodelgenplugin": true,
"usedocsgeneratorplugin": true,
"usetypesgeneratorplugin": true,
"cleangeneratedmodelsdirectory": true,
"retaincasestyle": true,
"addtimestampfields": true,
"handlelistnullabilitytransparently": true,
"emitauthprovider": true,
"generateindexrules": true,
"enabledartnullsafety": true,
"generatemodelsforlazyloadandcustomselectionset": false
},
"appsync": {
"generategraphqlpermissions": true
},
"latestregionsupport": {
"pinpoint": 1,
"translate": 1,
"transcribe": 1,
"rekognition": 1,
"textract": 1,
"comprehend": 1
},
"project": {
"overrides": true
}
}
}
20 changes: 20 additions & 0 deletions amplify/scripts/amplify-modelgen.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const { spawn } = require('child_process');

/* Run codegen on base schema */

console.log('Running codegen...');

run();

async function run() {
const amplify = process.env.AMPLIFY_PATH ? process.env.AMPLIFY_PATH : /^win/.test(process.platform) ? 'amplify.cmd' : 'amplify';
const modelGen = spawn(amplify, ['codegen', 'model'], { cwd: process.cwd(), env: process.env, stdio: 'inherit' });

modelGen.on('exit', code => {
if (code === 0) {
process.exit(0);
} else {
process.exit(1);
}
});
}
Loading