Skip to content

Simple and initial template react with typescript, theming, React test renderer and enzyme testing architecture, provider, icons, state, routers, context, Poppins Font πŸ˜ƒ.

License

Notifications You must be signed in to change notification settings

JohanDev6/TEMPLATE_My-react-typescript-styled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Template React with Styled, React Router, Jest and Enzyme πŸ”₯

This template was made to start react projects with ts in a clean way. But already prepared for any complexity using typing and even unit testing with Jest.

Features

  • Clean Structure
  • Easy manipulation
  • Theming
  • Context
  • Routers
  • Typing
  • Testing

Tools, Techs & Main libs

  • React Router
  • Styled Components
  • React Spring
  • React test renderer and Enzyme
  • React Icons

Folder structure

.
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ components
β”‚   β”‚   β”œβ”€β”€ button # Folder for component
β”‚   β”‚   β”‚   └── index.tsx
β”‚   β”‚   β”‚       styles.ts
β”‚   β”‚   β”‚       component.spec.ts
β”‚   β”œβ”€β”€ pages or screens
β”‚   β”‚   β”œβ”€β”€ home # Folder for page
β”‚   β”‚   β”‚   └── index.tsx
β”‚   β”‚   β”‚       styles.ts
β”‚   β”‚   β”œβ”€β”€ notfound # Folder for page
β”‚   β”‚   β”‚   └── index.tsx
β”‚   β”‚   β”‚       styles.ts
β”‚   β”œβ”€β”€ providers
β”‚   β”‚   β”œβ”€β”€ mainProvider.tsx
β”‚   └── utils or hooks
β”‚       └── useTitle.tsx
|           [...]
└── [...rest] Default files app.tsx, index.tsx, themes and etc... 

Init your development

$ git clone https://github.com/JohanDev6/Template-My-react-typescript-styled
$ yarn install
$ cd src/
$ yarn start

Contribution to template

Please use issue tracker to report bugs or make push requests.

About

Simple and initial template react with typescript, theming, React test renderer and enzyme testing architecture, provider, icons, state, routers, context, Poppins Font πŸ˜ƒ.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published