1.2.88 • Published 1 year ago

finance-approvals v1.2.88

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Hiver React app boilerplate

Overview

This repository contains a React based boilerplate that can be used to quickly bootstrap new applications.

Technical stack

TypeScript, React, Redux Toolkit, Styled Components, Vitest (uses chai, jsdom and jest compatible API) for tests and Vite (uses esbuild, rollup) for building.

Code structure

  • src
    • assets - images and other static files.
    • components - reusable blocks of code, that can be used on several pages. Components can be located in sub-directories if needed.
    • hooks - reusable hooks
    • pages - pages, associates with routes. Pages consist of components.
    • service - low-level network functionality. One should rarely need to change anything there.
    • store - redux-toolkit slices/api.
    • types - TypeScript types for e.g. libraries w/o typings or assets.

IDE integration

VS Code

Install eslint and prettier plugins from the marketplace to enable code formatting on-the-fly.

Available commands

  • serve - launch dev server
  • build - build the project in production mode
  • test - run unit tests
  • lint - run linter & prettier
  • lint:fix - fix linter & prettier issues in the code-base

How to use it

Clone the boilerplate, e.g. by using degit:

npx degit --mode=git git@github.com:GrexIt/react-frontend-boilerplate your-project-name

Init git repository

cd your-project-name && git init && git add . && git commit -m 'Init repo'

Edit the package.json, index.html and src/App.tsx as you see fit. Provide your project's sentry dsn to Sentry.init method (You may have to create a Sentry project first link). You can freely remove the testing store from the src/store directory. Also you can remove the store completely if you're writing e.g. a library of components, for that remove the whole store directory and remove all mentions of it from main.tsx

1.2.88

1 year ago

1.2.87

1 year ago

1.2.86

1 year ago

1.2.85

1 year ago

1.2.84

1 year ago

1.2.82

1 year ago

1.2.81

1 year ago

1.2.80

1 year ago

1.2.79

1 year ago

1.2.78

1 year ago

1.2.77

1 year ago

1.2.76

1 year ago

1.2.75

1 year ago

1.2.74

1 year ago

1.2.73

1 year ago

1.2.72

1 year ago

1.2.71

1 year ago

1.2.70

1 year ago

1.2.69

1 year ago

1.2.68

1 year ago

1.2.67

1 year ago

1.2.66

1 year ago

1.2.65

1 year ago

1.2.64

1 year ago

1.2.63

1 year ago

1.2.62

1 year ago

1.2.61

1 year ago

1.2.60

1 year ago

1.2.59

1 year ago

1.2.58

1 year ago

1.2.57

1 year ago

1.2.56

1 year ago

1.2.55

1 year ago

1.2.54

1 year ago

1.2.53

1 year ago

1.2.52

1 year ago

1.2.51

1 year ago

1.2.50

1 year ago

1.2.49

1 year ago

1.2.48

1 year ago

1.2.46

1 year ago

1.2.45

1 year ago

1.2.44

1 year ago

1.2.43

1 year ago

1.2.42

1 year ago

1.2.41

1 year ago

1.2.40

1 year ago

1.2.39

1 year ago

1.2.38

1 year ago

1.2.37

1 year ago

1.2.36

1 year ago

1.2.35

1 year ago

1.2.34

1 year ago

1.2.33

1 year ago

1.2.32

1 year ago

1.2.26

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago