# @decafhub/decaf-react-webapp

[![NPM](https://img.shields.io/npm/v/@decafhub/decaf-react-webapp.svg)](https://www.npmjs.com/package/@decafhub/decaf-react-webapp)
[![npm](https://img.shields.io/npm/dm/@decafhub/decaf-react-webapp.svg)](https://www.npmjs.com/package/@decafhub/decaf-react-webapp)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

## Install

Install @decafhub/decaf-react-webapp along with its peer dependencies:

```bash:
npm install --save @decafhub/decaf-react-webapp @decafhub/decaf-react @decafhub/decaf-client antd @ant-design/icons react react-dom use-query-params
```

## Usage

See the [App.tsx](./example/src/App.tsx) file in the `example` folder file for detailed usage.

## Development

1. Clone the repository.
2. Install dependencies with `npm install`.
3. Run `npm run start` to start the development server.
4. cd into `example`
   1. run `yarn install`
   2. duplicate `.env.example` to `.env`
   3. run `yarn start` to start the example application.
5. Open <http://localhost:3000/webapps/react-webapp-example/development/> in your browser.
