Skip to content
Permalink
Browse files

Reorganised the components & removed unnecessary stuff.

  • Loading branch information...
praveenscience committed Sep 1, 2019
1 parent ee38aca commit 2952aef355d1adf2979738c300555e009a0f0b39
@@ -5,11 +5,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"
/>
<link rel="apple-touch-icon" href="logo192.png" />
<meta name="description" content="Creating a Full Stack MERN Application using JWT Authentication" />
<link rel="apple-touch-icon" href="logo512.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 +21,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>Creating a Full Stack MERN Application using JWT Authentication</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -0,0 +1,11 @@
import React from "react";

function App() {
return (
<div className="App">
<p>Hello World!</p>
</div>
);
}

export default App;

This file was deleted.

@@ -1,10 +1,10 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import React from "react";
import ReactDOM from "react-dom";
import "./styles/App.scss";
import App from "./components/App";
import * as serviceWorker from "./serviceWorker";

ReactDOM.render(<App />, document.getElementById('root'));
ReactDOM.render(<App />, document.getElementById("root"));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.

This file was deleted.

@@ -0,0 +1,13 @@
body {
margin: 0;
padding: 0;
list-style: none;
}
.App {
&,
* {
margin: 0;
padding: 0;
list-style: none;
}
}
@@ -0,0 +1,9 @@
import React from "react";
import ReactDOM from "react-dom";
import App from "../components/App";

it("renders without crashing", () => {
const div = document.createElement("div");
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
});

0 comments on commit 2952aef

Please sign in to comment.
You can’t perform that action at this time.