├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html └── manifest.json └── src ├── App.css ├── App.js ├── components ├── Dashboard.js ├── Home.js ├── PrivateRoute.js ├── PublicRoute.js └── SignIn.js ├── index.css ├── index.js └── utils └── index.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/public/index.html -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/public/manifest.json -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/App.css -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/App.js -------------------------------------------------------------------------------- /src/components/Dashboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/components/Dashboard.js -------------------------------------------------------------------------------- /src/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/components/Home.js -------------------------------------------------------------------------------- /src/components/PrivateRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/components/PrivateRoute.js -------------------------------------------------------------------------------- /src/components/PublicRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/components/PublicRoute.js -------------------------------------------------------------------------------- /src/components/SignIn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/components/SignIn.js -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/index.js -------------------------------------------------------------------------------- /src/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binhtran04/react-router-example/HEAD/src/utils/index.js --------------------------------------------------------------------------------