Browse Source

🎉 React App initialisiert

patch-1
u14461 7 years ago
parent
commit
3d70291fa9
  1. 23
      Frontend/.gitignore
  2. 5
      Frontend/README.md
  3. 12667
      Frontend/package-lock.json
  4. 31
      Frontend/package.json
  5. BIN
      Frontend/public/favicon.ico
  6. 15
      Frontend/public/index.html
  7. 15
      Frontend/public/manifest.json
  8. 10
      Frontend/src/components/App.js
  9. 6
      Frontend/src/index.js
  10. 14
      Frontend/src/style/index.css

23
Frontend/.gitignore vendored

@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

5
Frontend/README.md

@ -0,0 +1,5 @@
# React App für die EVA_Lernsituatuin
# Pakages
- Material UI

12667
Frontend/package-lock.json generated

File diff suppressed because it is too large Load Diff

31
Frontend/package.json

@ -0,0 +1,31 @@
{
"name": "temp",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

BIN
Frontend/public/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

15
Frontend/public/index.html

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="de">
<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" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Lernsituation</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>

15
Frontend/public/manifest.json

@ -0,0 +1,15 @@
{
"short_name": "Lernsituation",
"name": "EVA_Lernsituation",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

10
Frontend/src/components/App.js

@ -0,0 +1,10 @@
import React, { Component } from "react";
class App extends Component {
state = {};
render() {
return <></>;
}
}
export default App;

6
Frontend/src/index.js

@ -0,0 +1,6 @@
import React from "react";
import ReactDOM from "react-dom";
import "./style/index.css";
import App from "./components/App";
ReactDOM.render(<App />, document.getElementById("root"));

14
Frontend/src/style/index.css

@ -0,0 +1,14 @@
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
Loading…
Cancel
Save