Dashboard for Insurance portal built with React, Typescript, SCSS
In the project directory, you can run:
To install dependepencies
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive mode. This is handled with react-scripts
and jest
Launches the test runner in the interactive watch mode. This is handled with react-scripts
and jest
Launches the test runner in watch mode and generates test converage for the components. Generated coverage can be found in /coverage
folder.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
All the code for the application can be found in /src
, with components
, pages
, hooks
, helpers
, routes
.
-
components
: contains the components (atoms
,molecules
) and layouts, with tests covering most edge-cases. -
pages
: contains components that forms the page as defined inroutes
. -
hooks
: contains reusable hooks likeuseCopyToClipboard
used for copying promo code. -
routes
: contains links, routes and related utilities. -
helpers
: contains utitility functions that can be reused.