{"repo":"shawn-dsilva/mern-login-signup-component","free":true,"listed":false,"github":"https://github.com/shawn-dsilva/mern-login-signup-component","clone":"git clone https://github.com/shawn-dsilva/mern-login-signup-component.git","description":"Minimalistic Sessions based Authentication app 🔒 using Reactjs, Nodejs, Express, MongoDB and Bootstrap. Uses Cookies 🍪","language":"JavaScript","stars":189,"topics":["nodejs","express","express-session","mongodb","reactjs","redux","bootstrap","cookies","sessions"],"license":null,"category":"auth-billing-email","readme_excerpt":"MERN Login Signup Component ⚠ Update 3rd April 2021 : React and NodeJS packaged updated/fixed using npm audit , Packages updated may have breaking changes, If running the code in this repo causes any issues, send me an e-mail ⚠ Minimalistic, ready-to-use component for Sessions based Login and Sign-Up using Reactjs, Redux, Bootstrap Node.js + Express and MongoDB, can be used as a starting point for another project that needs authentication. Features - Login page with success/error messages - Register page with success/error messages - Protected Profile page route that needs authentication to access - Persistence achieved using Sessions, with session ID stored on Cookie - Logout deletes session in database and cookie from browser - Fully responsive across Desktop, Tablet and Mobile Prerequisites - Node.js - NPM - React - MongoDB Atlas MongoURI - .env file with ENV variables , a .env template is provided Quick Start Clone the repository Install packages for Node backend Install packages for React client To Test Locally remove the line \"homepage\": \"https://demos.shawndsilva.com/sessions-auth-app\", from client/package.json remove basename=\"/sessions-auth-app\" from client/src/index.js Start Dev Server ( both React server and Nodejs server ) To fix error Add RUN npm config set unsafe-perm true to client/dockerfile To fix can't proxy request while running in docker container add \"proxy\": \"http://server:5000\" to client/package.json Image Gallery Homepage Login Login with Error message","default_branch":null,"files":null,"tree":[],"storefront":"/r/shawn-dsilva","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shawn-dsilva/mern-login-signup-component/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}