{"repo":"kazmi066/rtk-start","free":true,"listed":false,"github":"https://github.com/kazmi066/rtk-start","clone":"git clone https://github.com/kazmi066/rtk-start.git","description":"Boilerplate for projects using React, Tailwind, Redux Toolkit","language":"JavaScript","stars":20,"topics":["react-boilerplate","react-redux-boilerplate","react-tailwind-starter","react-template","redux-auth","redux-toolkit"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Overview This is an extended version of React template from Stellar Minore Open-source Template , If you are looking for more simplified version with folder structure and without RTK setup, Check them out here at https://bitbucket.org/stellar-minore/react-template Details Initial template for projects that are running with: - React - Tailwind-css - Redux Toolkit - SASS Modules ( .module.scss ) - Eslint / Stylint configured Folder Structure: Out Of The Box: - Auth (Login/Register) pages without any styles to get you going with Authentication. - Navbar without any styles. You can Customize it according to your needs. - Private/Public Components to handle the protected routes functionality for client-side. - Custom Axios Instance (Supports JWT handling Access-tokens/Refresh-tokens ). - SASS variables and mixins at one place /utils/sass Redux Toolkit: - Already covered with login, register, logout, verifyUser slices. - Connected with Axios Instance to handle all API calls. If your app requires auth, you might not have to deal with all the boilerplate for RTK and start working on rest of flow. Tokens Authentication Flow: - Structure is already built to deal with http-only cookies (Refresh-tokens) . - While Access-tokens are stored in localstorage. - I know Localstorage is not safe to store tokens so template already has a support to deal with Rotating-refresh-tokens . You can read about the concept here: Rotating Refresh Tokens. - Make sure you have set the expiry for Access-token","default_branch":null,"files":null,"tree":[],"storefront":"/r/kazmi066","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kazmi066/rtk-start/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."}