├── backend ├── .gitignore ├── app.js ├── db.js ├── models │ └── User.js ├── package.json ├── passport.js ├── routes │ └── user.js ├── validation │ ├── is-empty.js │ ├── login.js │ └── register.js └── yarn.lock └── frontend ├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html └── manifest.json ├── src ├── App.css ├── App.js ├── App.test.js ├── actions │ ├── authentication.js │ └── types.js ├── components │ ├── Home.js │ ├── Login.js │ ├── Navbar.js │ └── Register.js ├── index.css ├── index.js ├── logo.svg ├── reducers │ ├── authReducer.js │ ├── errorReducer.js │ └── index.js ├── registerServiceWorker.js ├── setAuthToken.js ├── store.js └── validation │ └── is-empty.js └── yarn.lock /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/app.js -------------------------------------------------------------------------------- /backend/db.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | DB: 'mongodb://localhost:27017/auth' 3 | } -------------------------------------------------------------------------------- /backend/models/User.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/models/User.js -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/passport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/passport.js -------------------------------------------------------------------------------- /backend/routes/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/routes/user.js -------------------------------------------------------------------------------- /backend/validation/is-empty.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/validation/is-empty.js -------------------------------------------------------------------------------- /backend/validation/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/validation/login.js -------------------------------------------------------------------------------- /backend/validation/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/validation/register.js -------------------------------------------------------------------------------- /backend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/backend/yarn.lock -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/App.css -------------------------------------------------------------------------------- /frontend/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/App.js -------------------------------------------------------------------------------- /frontend/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/App.test.js -------------------------------------------------------------------------------- /frontend/src/actions/authentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/actions/authentication.js -------------------------------------------------------------------------------- /frontend/src/actions/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/actions/types.js -------------------------------------------------------------------------------- /frontend/src/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/components/Home.js -------------------------------------------------------------------------------- /frontend/src/components/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/components/Login.js -------------------------------------------------------------------------------- /frontend/src/components/Navbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/components/Navbar.js -------------------------------------------------------------------------------- /frontend/src/components/Register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/components/Register.js -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/index.js -------------------------------------------------------------------------------- /frontend/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/logo.svg -------------------------------------------------------------------------------- /frontend/src/reducers/authReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/reducers/authReducer.js -------------------------------------------------------------------------------- /frontend/src/reducers/errorReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/reducers/errorReducer.js -------------------------------------------------------------------------------- /frontend/src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/reducers/index.js -------------------------------------------------------------------------------- /frontend/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/registerServiceWorker.js -------------------------------------------------------------------------------- /frontend/src/setAuthToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/setAuthToken.js -------------------------------------------------------------------------------- /frontend/src/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/store.js -------------------------------------------------------------------------------- /frontend/src/validation/is-empty.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/src/validation/is-empty.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/ReactReduxAuthentication/HEAD/frontend/yarn.lock --------------------------------------------------------------------------------