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.
- Clean Structure
- Easy manipulation
- Theming
- Context
- Routers
- Typing
- Testing
- React Router
- Styled Components
- React Spring
- React test renderer and Enzyme
- React Icons
.
βββ 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...
$ git clone https://github.com/JohanDev6/Template-My-react-typescript-styled
$ yarn install
$ cd src/
$ yarn start
Please use issue tracker to report bugs or make push requests.