Skip to content
Snippets Groups Projects
Commit e9f17642 authored by Lucendio's avatar Lucendio
Browse files

[app] Update frontend

* applied latest cra-template
* removed react-specific content
parent 5a4f5566
No related branches found
No related tags found
No related merge requests found
Showing
with 16002 additions and 22 deletions
This diff is collapsed.
{
"name": "todo-app-k8s",
"version": "0.1.0",
"name": "todo-app",
"version": "2.0.0",
"private": true,
"dependencies": {
"axios": "^0.19.0",
"mdbreact": "^4.19.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-loader-spinner": "^3.1.4",
"react-scripts": "3.1.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"axios": "^0.19.2",
"mdbreact": "^4.25.5",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-loader-spinner": "^3.1.5",
"react-scripts": "3.4.1",
"validator": "^11.1.0"
},
"scripts": {
......
app/client/public/favicon.ico

3.78 KiB

......@@ -2,14 +2,12 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="Example Service"
/>
<link rel="apple-touch-icon" href="logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
......@@ -24,7 +22,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>ToDo App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
......
app/client/public/logo192.png

5.22 KiB

app/client/public/logo512.png

9.44 KiB

......@@ -16,7 +16,7 @@
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
}
],
"start_url": ".",
"display": "standalone",
......
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow: /
File moved
import React, { Component, Fragment } from 'react';
import AddTodo from './AddTodo/AddTodo'
import ListTodo from './ListTodo/ListTodo'
import PageLoader from './PageLoader/PageLoader'
import Header from './Header/Header'
import Login from './Login/Login'
import { init } from '../utils/APICalls'
import Signup from './Signup/Signup'
import AddTodo from './components/AddTodo/AddTodo'
import ListTodo from './components/ListTodo/ListTodo'
import PageLoader from './components/PageLoader/PageLoader'
import Header from './components/Header/Header'
import Login from './components/Login/Login'
import { init } from './utils/APICalls'
import Signup from './components/Signup/Signup'
import './App.css'
import { updateTodo, deleteTodo, signout } from '../utils/APICalls'
import { fillTodoRows } from '../utils/Helper'
import { updateTodo, deleteTodo, signout } from './utils/APICalls'
import { fillTodoRows } from './utils/Helper'
class App extends Component {
state = {
......
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment