Skip to content

Commit

Permalink
Merge pull request #3 from peterrsongg/main
Browse files Browse the repository at this point in the history
Updated packages, dependencies, javascript to reflect updates
  • Loading branch information
Kuassim authored Mar 2, 2022
2 parents 0945588 + 79b0149 commit a28b3b9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions mtdrworkshop/backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>io.helidon.applications</groupId>
<artifactId>helidon-se</artifactId>
<version>2.2.0</version>
<version>2.4.2</version>
<relativePath/>
</parent>

Expand All @@ -24,7 +24,7 @@
<name>${project.artifactId}</name>

<properties>
<helidon.version>2.0.0</helidon.version>
<helidon.version>2.4.2</helidon.version>
<mainClass>com.oracle.todoapp.Main</mainClass>
<libs.classpath.prefix>libs</libs.classpath.prefix>
<copied.libs.dir>${project.build.directory}/${libs.classpath.prefix}</copied.libs.dir>
Expand Down
13 changes: 8 additions & 5 deletions mtdrworkshop/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
"@mui/icons-material": "^5.4.4",
"@mui/material": "^5.4.4",
"@mui/styles": "^5.4.4",
"moment": "^2.29.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-moment": "^1.0.0",
"react-scripts": "3.4.3"
"react-scripts": "5.0.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
1 change: 1 addition & 0 deletions mtdrworkshop/frontend/src/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
// Copy from the endpoint from the API Gateway Deployment
// Example: const API_LIST = 'https://di2eyonlz5s7kmuektcddaw5zq.apigateway.<region>.oci.customer-oci.com/todolist';
const API_LIST = 'https://di2eyonlz5s7kmuektcddaw5zq.apigateway.eu-frankfurt-1.oci.customer-oci.com/todolist';

export default API_LIST;
4 changes: 2 additions & 2 deletions mtdrworkshop/frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import React, { useState, useEffect } from 'react';
import NewItem from './NewItem';
import API_LIST from './API';
import DeleteIcon from '@material-ui/icons/Delete';
import { Button, TableBody, CircularProgress } from '@material-ui/core';
import DeleteIcon from '@mui/icons-material/Delete';
import { Button, TableBody, CircularProgress } from '@mui/material';
import Moment from 'react-moment';

/* In this application we're using Function Components with the State Hooks
Expand Down
3 changes: 2 additions & 1 deletion mtdrworkshop/frontend/src/NewItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
*/

import React, { useState } from "react";
import Button from '@material-ui/core/Button';
import Button from '@mui/material/Button';


function NewItem(props) {
const [item, setItem] = useState('');
Expand Down
1 change: 1 addition & 0 deletions mtdrworkshop/frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ button.AddButton,
button.DoneButton {
font-size: max(8px,min(2vw, 12px));
padding: 0.35em 0.5em;
color:#161513;
}
/* from the redwood theme */
button.AddButton {
Expand Down

0 comments on commit a28b3b9

Please sign in to comment.