Rtk Start

screenshot of Rtk Start
react
scss
tailwind

Boilerplate for projects using React, Tailwind, Redux Toolkit

Overview

This product is an extended version of the React template from Stellar Minore Open-source Template. It provides a more simplified version of the template with a specific folder structure and without the RTK (Redux Toolkit) setup. The template is designed for projects that use React, Tailwind CSS, Redux Toolkit, SASS Modules, and Eslint/Stylint configurations.

Features

  • Auth (Login/Register) pages without any styles for easy setup of authentication.
  • Navbar component without any styles, allowing for customization according to specific needs.
  • Private/Public Components to handle protected routes functionality on the client-side.
  • Custom Axios Instance with support for handling JWT (JSON Web Token) access-tokens and refresh-tokens.
  • SASS variables and mixins centralized in one place for easy access (/utils/sass).
  • Redux Toolkit integration with login, register, logout, and verifyUser functionality.
  • Connected with Axios Instance to handle all API calls.
  • Built-in structure to handle http-only cookies (refresh-tokens) and storage of access-tokens in localstorage.
  • Support for Rotating-refresh-tokens for improved security.

Summary

This extended React template from Stellar Minore Open-source Template provides a simplified starting point for projects using React, Tailwind CSS, Redux Toolkit, SASS Modules, and Eslint/Stylint configurations. It includes features such as pre-built authentication pages, customizable navbar, protected routes functionality, custom Axios instance for handling API calls and JWT tokens, and support for rotating refresh tokens. By following the installation guide, users can quickly set up and start working with this template.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.