├── README.md ├── client ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt └── src │ ├── App.js │ ├── App.test.js │ ├── Routes.js │ ├── components │ ├── Login.js │ └── Signup.js │ ├── index.js │ ├── logo.svg │ ├── reportWebVitals.js │ ├── setupTests.js │ ├── styles │ └── theme.js │ └── utils.js ├── package.json └── server ├── .gitignore ├── README.md ├── index.js ├── models └── UserSchema.js ├── package-lock.json ├── package.json └── routes └── loginRoutes.js /README.md: -------------------------------------------------------------------------------- 1 | # Session Auth boilerplate with MERN stack -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/README.md -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/package.json -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/public/logo192.png -------------------------------------------------------------------------------- /client/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/public/logo512.png -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/public/manifest.json -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/public/robots.txt -------------------------------------------------------------------------------- /client/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/App.js -------------------------------------------------------------------------------- /client/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/App.test.js -------------------------------------------------------------------------------- /client/src/Routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/Routes.js -------------------------------------------------------------------------------- /client/src/components/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/components/Login.js -------------------------------------------------------------------------------- /client/src/components/Signup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/components/Signup.js -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/index.js -------------------------------------------------------------------------------- /client/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/logo.svg -------------------------------------------------------------------------------- /client/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/reportWebVitals.js -------------------------------------------------------------------------------- /client/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/setupTests.js -------------------------------------------------------------------------------- /client/src/styles/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/styles/theme.js -------------------------------------------------------------------------------- /client/src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/client/src/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/package.json -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | .env* 3 | node_modules 4 | .DS_Store -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/server/index.js -------------------------------------------------------------------------------- /server/models/UserSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/server/models/UserSchema.js -------------------------------------------------------------------------------- /server/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/server/package-lock.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/server/package.json -------------------------------------------------------------------------------- /server/routes/loginRoutes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsambrotta/auth-session-mern-boilerplate/HEAD/server/routes/loginRoutes.js --------------------------------------------------------------------------------