{"repo":"flaviuse/mern-authentication","free":true,"listed":false,"github":"https://github.com/flaviuse/mern-authentication","clone":"git clone https://github.com/flaviuse/mern-authentication.git","description":"MERN stack authentication boilerplate: password reset, email verification, server sessions, redux, typescript, hooks and docker for dev and prod.","language":"TypeScript","stars":509,"topics":["email-verification","mern-authentication","backend","frontend","react","docker","reset-password","nodejs","node","redux"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":":rocket: MERN authentication with email verification, hooks and docker (prod/dev). :warning: This repository aim to have a fast to use boilerplate. That's why the screenshot does not reflect anymore the version of the repo. :star: The project if it helped you! :whale: Docker Boilerplate now is fully usable with docker, it integrate the MongoDB database, the React/Redux frontend and NodeJS/Express backend. If you do not have docker: Docker allows to deloy the app in docker containers in one line in the CLI. Environment variables You have to set the following environment variables in server.dev.env file (rename server.example.env to server.dev.env): - SENDGRID API KEY, the backend uses Send Grid to send emails, you can register and get a free key on their website: . :warning: You cannot use the app without a key. Validation links are sent in http not https, you can modified that in server/routes/auth.js if you want to go https in deployment. - SESSION KEY, it is the secret key that is used to compute the hash of sessions. It is important to use a strong key: . - SENDING EMAIL, the email address you want to use to send confirmation email to the user. Development in the root directory: docker compose up --build It supports hot reloading for both the frontend and backend. Production Set server.prod.env and client.prod.env files. Note: server.prod.env is used at runtime and can be defined in docker-compose directly, client.prod.env is used at docker image build time, to do so we de","default_branch":null,"files":null,"tree":[],"storefront":"/r/flaviuse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flaviuse/mern-authentication/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."}