{"repo":"Chinwike1/redux-user-auth","free":true,"listed":false,"github":"https://github.com/Chinwike1/redux-user-auth","clone":"git clone https://github.com/Chinwike1/redux-user-auth.git","description":"User Authentication workflow made with the MERN stack","language":"TypeScript","stars":87,"topics":["authentication","nodejs","react","redux-toolkit"],"license":"GPL-3.0","category":"auth-billing-email","readme_excerpt":"User Authentication with Redux Toolkit Authentication workflow built with the MERN stack, Redux Toolkit & TypeScript. Project demo here Features - User Authentication — Login & Register - MongoDB - Application context with Redux Toolkit - Data fetching with RTK Query - Protected routes with React Router v6 - JWT storage with localStorage - Automatically fetches user details on page load — Header.tsx - TailwindCSS v4 with Dark Mode Usage Starter files If you're following along with the blog post, clone the starter-files branch with the following command: MongoDB Setup Follow this guide on \"Getting started with MongoDB Atlas\" to setup your database. Environment Variables Environment variables are shown in .env.example files. Install Dependencies Run this command first in both dev and production to install dependencies in root, /backend & /frontend: Start development server Build Production Docker You can also deploy using Docker and Docker Compose: The container runs on port 5000. Make sure to set the required environment variables ( MONGO URI , JWT SECRET ) either in a .env file or pass them directly to Docker Compose. License GPL-3.0 — Open source license. Software can be used, copied, modified, e.t.c, free of charge.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Chinwike1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Chinwike1/redux-user-auth/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."}