├── .gitignore ├── README.md ├── client-react ├── .gitignore ├── README.md ├── exapmle.env ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.jsx │ ├── Routes │ │ ├── AdminRoute.jsx │ │ └── PrivateRoute.jsx │ ├── assests │ │ ├── auth.svg │ │ ├── forget.svg │ │ ├── login.svg │ │ ├── reset.svg │ │ ├── update.svg │ │ └── welcome.svg │ ├── helpers │ │ └── auth.js │ ├── index.js │ └── screens │ │ ├── Activate.jsx │ │ ├── Admin.jsx │ │ ├── ForgetPassword.jsx │ │ ├── GoogleAuth.jsx │ │ ├── Login.jsx │ │ ├── Private.jsx │ │ ├── Register.jsx │ │ └── ResetPassword.jsx └── yarn.lock ├── config ├── config.example.env └── db.js ├── controllers ├── auth.controller.js └── user.controller.js ├── helpers ├── dbErrorHandling.js └── valid.js ├── models └── auth.model.js ├── package.json ├── routes ├── auth.route.js └── user.route.js └── server.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /client-react/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/.gitignore -------------------------------------------------------------------------------- /client-react/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/README.md -------------------------------------------------------------------------------- /client-react/exapmle.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/exapmle.env -------------------------------------------------------------------------------- /client-react/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/package-lock.json -------------------------------------------------------------------------------- /client-react/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/package.json -------------------------------------------------------------------------------- /client-react/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/public/favicon.ico -------------------------------------------------------------------------------- /client-react/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/public/index.html -------------------------------------------------------------------------------- /client-react/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/public/logo192.png -------------------------------------------------------------------------------- /client-react/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/public/logo512.png -------------------------------------------------------------------------------- /client-react/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/public/manifest.json -------------------------------------------------------------------------------- /client-react/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/public/robots.txt -------------------------------------------------------------------------------- /client-react/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/App.jsx -------------------------------------------------------------------------------- /client-react/src/Routes/AdminRoute.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/Routes/AdminRoute.jsx -------------------------------------------------------------------------------- /client-react/src/Routes/PrivateRoute.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/Routes/PrivateRoute.jsx -------------------------------------------------------------------------------- /client-react/src/assests/auth.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/assests/auth.svg -------------------------------------------------------------------------------- /client-react/src/assests/forget.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/assests/forget.svg -------------------------------------------------------------------------------- /client-react/src/assests/login.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/assests/login.svg -------------------------------------------------------------------------------- /client-react/src/assests/reset.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/assests/reset.svg -------------------------------------------------------------------------------- /client-react/src/assests/update.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/assests/update.svg -------------------------------------------------------------------------------- /client-react/src/assests/welcome.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/assests/welcome.svg -------------------------------------------------------------------------------- /client-react/src/helpers/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/helpers/auth.js -------------------------------------------------------------------------------- /client-react/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/index.js -------------------------------------------------------------------------------- /client-react/src/screens/Activate.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/Activate.jsx -------------------------------------------------------------------------------- /client-react/src/screens/Admin.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/Admin.jsx -------------------------------------------------------------------------------- /client-react/src/screens/ForgetPassword.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/ForgetPassword.jsx -------------------------------------------------------------------------------- /client-react/src/screens/GoogleAuth.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/GoogleAuth.jsx -------------------------------------------------------------------------------- /client-react/src/screens/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/Login.jsx -------------------------------------------------------------------------------- /client-react/src/screens/Private.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/Private.jsx -------------------------------------------------------------------------------- /client-react/src/screens/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/Register.jsx -------------------------------------------------------------------------------- /client-react/src/screens/ResetPassword.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/src/screens/ResetPassword.jsx -------------------------------------------------------------------------------- /client-react/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/client-react/yarn.lock -------------------------------------------------------------------------------- /config/config.example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/config/config.example.env -------------------------------------------------------------------------------- /config/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/config/db.js -------------------------------------------------------------------------------- /controllers/auth.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/controllers/auth.controller.js -------------------------------------------------------------------------------- /controllers/user.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/controllers/user.controller.js -------------------------------------------------------------------------------- /helpers/dbErrorHandling.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/helpers/dbErrorHandling.js -------------------------------------------------------------------------------- /helpers/valid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/helpers/valid.js -------------------------------------------------------------------------------- /models/auth.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/models/auth.model.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/package.json -------------------------------------------------------------------------------- /routes/auth.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/routes/auth.route.js -------------------------------------------------------------------------------- /routes/user.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/routes/user.route.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/FULL-MERN-AUTH-Boilerplate/HEAD/server.js --------------------------------------------------------------------------------