Skip to content

yigityuce/cra-template-react-spa-quick-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRA React SPA Quick Start

A Create React App template to quickly focus on your business without need to setup a development environment.

Ingredients

Here is the list of ingredients:

Features

  • Routing
    • Automatically generate sidebar from router definition with icon and text configuration
    • Match current root with the sidebar items and make the correct item as "active" automatically
  • Store
    • Persist the store with Redux
    • Temporary/in-memory storage with RxJS Subjects
  • Form
    • Ready to use form elements with formik (works with both react hooks and formik components)
    • Integration with YUP validator
  • HTTP
    • Display loading spinner as overlay during request-response flow
    • Ready to integrate basic authentication

Usage

To use the template, clone the repo and use it locally

git clone https://github.com/yigityuce/cra-template-react-spa-quick-start.git

npx create-react-app my-app --template file:./cra-template-react-spa-quick-start