Skip to content

Commit

Permalink
reset
Browse files Browse the repository at this point in the history
  • Loading branch information
nic21003 committed Oct 25, 2023
2 parents 6af84d6 + 393138d commit 12dfc59
Show file tree
Hide file tree
Showing 8 changed files with 708 additions and 120 deletions.
Binary file added class_registration_app/ngrok
Binary file not shown.
382 changes: 375 additions & 7 deletions class_registration_app/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions class_registration_app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"dependencies": {
"aws-amplify": "^5.3.11",
"ngrok": "^5.0.0-beta.2",
"npm-run-all": "^4.1.5",
"pinia": "^2.1.6",
"vue": "^3.3.4",
Expand Down
14 changes: 8 additions & 6 deletions class_registration_app/src/assets/main.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@import './base.css';

#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
min-width: 100vw;

padding: 0rem;

font-weight: normal;
}
Expand All @@ -24,7 +24,9 @@ a,
}
}

@media (min-width: 1024px) {

@media (min-width: 100vw) {

body {
display: flex;
place-items: center;
Expand All @@ -33,10 +35,10 @@ a,
#app {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0 2rem;
padding: 0 auto;
}
}

*/
.btn-97,
.btn-97 *,
.btn-97 :after,
Expand Down
21 changes: 21 additions & 0 deletions class_registration_app/src/components/CourseSearch.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
<script setup lang="ts">
import axios from 'axios';
//arn:aws:execute-api:us-east-1:671289147354:5prodolbi7/*/GET/courses
const apiUrl = 'https://5prodolbi7.execute-api.us-east-1.amazonaws.com/Beta';
// Make a GET request
axios.get(`${apiUrl}/courses`, {
params: {
// Query parameters, if any
}
})
.then(response => {
// Handle the response
console.log(response.data);
})
.catch(error => {
// Handle errors
console.error(error);
});
</script>


// Your API Gateway endpoint URL


<template>
<div class="container">
<h1>UConn Course Search</h1>
Expand Down
4 changes: 4 additions & 0 deletions class_registration_app/src/components/DashBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
.dashboard {
text-align: center;
position:absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
h1 {
Expand Down
Loading

0 comments on commit 12dfc59

Please sign in to comment.