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
4 changes: 0 additions & 4 deletions .expo-shared/assets.json

This file was deleted.

20 changes: 10 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ web-report/
.DS_Store

#amplify
amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/mock-data
amplify/backend/amplify-meta.json
amplify/backend/awscloudformation
# amplify/\#current-cloud-backend
# amplify/.config/local-*
# amplify/mock-data
# amplify/backend/amplify-meta.json
# amplify/backend/awscloudformation
build/
dist/
node_modules/
aws-exports.js
awsconfiguration.json
amplifyconfiguration.json
amplify-gradle-config.json
amplifyxc.config
# aws-exports.js
# awsconfiguration.json
# amplifyconfiguration.json
# amplify-gradle-config.json
# amplifyxc.config
12 changes: 12 additions & 0 deletions .graphqlconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
projects:
schedulemaker:
schemaPath: src/graphql/schema.json
includes:
- src/graphql/**/*.js
excludes:
- ./amplify/**
extensions:
amplify:
codeGenTarget: javascript
generatedFileName: ''
docsFilePath: src/graphql
89 changes: 0 additions & 89 deletions App.js

This file was deleted.

71 changes: 68 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,68 @@
# pwa
First Implementation of our PWA
[Demo link](https://master.dgbykqa1rb9is.amplifyapp.com/)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `yarn build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
70 changes: 70 additions & 0 deletions amplify/#current-cloud-backend/amplify-meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"providers": {
"awscloudformation": {
"AuthRoleName": "amplify-schedulemaker-dev-164023-authRole",
"UnauthRoleArn": "arn:aws:iam::741865850980:role/amplify-schedulemaker-dev-164023-unauthRole",
"AuthRoleArn": "arn:aws:iam::741865850980:role/amplify-schedulemaker-dev-164023-authRole",
"Region": "us-east-2",
"DeploymentBucketName": "amplify-schedulemaker-dev-164023-deployment",
"UnauthRoleName": "amplify-schedulemaker-dev-164023-unauthRole",
"StackName": "amplify-schedulemaker-dev-164023",
"StackId": "arn:aws:cloudformation:us-east-2:741865850980:stack/amplify-schedulemaker-dev-164023/ab52dee0-7c34-11ea-b41f-068deee6a6ae",
"AmplifyAppId": "dpw4vxtkh26k4"
},
"categories": {
"auth": {
"schedulemakera88a1dfe": {}
}
}
},
"auth": {
"schedulemakera88a1dfe": {
"service": "Cognito",
"providerPlugin": "awscloudformation",
"dependsOn": [],
"customAuth": false,
"providerMetadata": {
"s3TemplateURL": "https://s3.amazonaws.com/amplify-schedulemaker-dev-164023-deployment/amplify-cfn-templates/auth/schedulemakera88a1dfe-cloudformation-template.yml",
"logicalId": "authschedulemakera88a1dfe"
},
"lastPushTimeStamp": "2020-04-11T20:46:10.394Z",
"output": {
"AppClientSecret": "38cca4i36uvde6a864oa1d2u7br3a19s870mk332hlv5atejivi",
"UserPoolId": "us-east-2_M7XVXcEjl",
"AppClientIDWeb": "5j55ho3uu30lrbspadr6pr67r0",
"AppClientID": "5jl53dk49f784dvnvrs17mledf",
"IdentityPoolId": "us-east-2:a529a93a-2203-44c6-b4c1-e4ad8cf5470a",
"IdentityPoolName": "schedulemakera88a1dfe_identitypool_a88a1dfe__dev",
"UserPoolName": "schedulemakera88a1dfe_userpool_a88a1dfe"
},
"lastPushDirHash": "srwbI3LXOpKufJuOWBlDc6BB0z4="
}
},
"api": {
"schedulemaker": {
"service": "AppSync",
"providerPlugin": "awscloudformation",
"output": {
"authConfig": {
"additionalAuthenticationProviders": [],
"defaultAuthentication": {
"authenticationType": "API_KEY",
"apiKeyConfig": {
"description": "Default API key",
"apiKeyExpirationDays": "365"
}
}
},
"GraphQLAPIIdOutput": "pskjr7azg5g3hpq5zch6ud3oda",
"GraphQLAPIEndpointOutput": "https://pumob4expnarlgmss47e5y42ue.appsync-api.us-east-2.amazonaws.com/graphql",
"GraphQLAPIKeyOutput": "da2-c6pu6hsllvhqxe6etzzgsrk7uq"
},
"providerMetadata": {
"s3TemplateURL": "https://s3.amazonaws.com/amplify-schedulemaker-dev-164023-deployment/amplify-cfn-templates/api/cloudformation-template.json",
"logicalId": "apischedulemaker"
},
"lastPushTimeStamp": "2020-04-11T20:46:10.394Z",
"lastPushDirHash": "fQ049fyXXtC+9BjfycqvmgXudGw="
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"AppSyncApiName": "original",
"AppSyncApiName": "schedulemaker",
"DynamoDBBillingMode": "PAY_PER_REQUEST",
"DynamoDBEnableServerSideEncryption": "false"
}
69 changes: 69 additions & 0 deletions amplify/#current-cloud-backend/api/schedulemaker/schema.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
input BannerArgs {
term: Int
subject: String
offset: Int
pageSize: Int
openOnly: Boolean
crn: Int
max: Int
}

type BannerMetadata {
code: String!
description: String!
}

# type Schedule {

# }

type Section {
isOpen: Boolean
campus: String
meetingTimes: [MeetingTime]
courseName: String!
crn: Int!
title: String
}

type MeetingTime {
startTime: Int
endTime: Int
building: String
room: String
instructors: [String]
weeks: [Int]
monday: Boolean
tuesday: Boolean
wednesday: Boolean
thursday: Boolean
friday: Boolean
saturday: Boolean
sunday: Boolean
}

input TimeBlock {
day: String!
startTime: Int!
endTime: Int!
}

type Course {
courseName: String!
title: String!
}

type Query {
getBannerMetadata(school: String!, term: Int!, method: String!, params: BannerArgs): [BannerMetadata] # For anything that IS NOT a CLASS SEARCH or CATALOG SEARCH or COURSE DESCRIPTION
# getCourseDescription(event: BannerProxyInput): String # For COURSE DESCRIPTIONS ONLY
getCourseList: [Course]
}

type Mutation {
createSchedules(courses: [String]!, campuses: [String]!, school: String!, term: Int!): [[Section]]
}

schema {
query: Query
mutation: Mutation
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Version": 5,
"ResolverConfig": {
"project": {
"ConflictHandler": "AUTOMERGE",
"ConflictDetection": "VERSION"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"identityPoolName": "pwademo1663563cf_identitypool_663563cf",
"identityPoolName": "schedulemakera88a1dfe_identitypool_a88a1dfe",
"allowUnauthenticatedIdentities": false,
"resourceNameTruncated": "pwadem663563cf",
"userPoolName": "pwademo1663563cf_userpool_663563cf",
"resourceNameTruncated": "schedua88a1dfe",
"userPoolName": "schedulemakera88a1dfe_userpool_a88a1dfe",
"autoVerifiedAttributes": [
"email"
],
Expand All @@ -28,9 +28,9 @@
"userpoolClientReadAttributes": [
"email"
],
"userpoolClientLambdaRole": "pwadem663563cf_userpoolclient_lambda_role",
"userpoolClientLambdaRole": "schedua88a1dfe_userpoolclient_lambda_role",
"userpoolClientSetAttributes": false,
"resourceName": "pwademo1663563cf",
"resourceName": "schedulemakera88a1dfe",
"authSelections": "identityPoolAndUserPool",
"authRoleArn": {
"Fn::GetAtt": [
Expand Down
Loading