# ms-teams-react-app

> These files are the configurable variables of your application depending on the environment. Update the REACT_APP_BASE variable into your Web API URLs. (This can be localhost if you are testing your api and app locally.) - .env - .env.dev - .env.test

Latest version **1.0.0** (published 2021-06-08) · 0 weekly downloads

## Install

```sh
npm install ms-teams-react-app
pnpm add ms-teams-react-app
yarn add ms-teams-react-app
bun add ms-teams-react-app
```

Provides the command `create-ms-teams-react-app`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-06-08 |
| First published | 2021-06-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 27 |
| Unpacked size | 39 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | arcortez |

## Links

- npm: https://www.npmjs.com/package/ms-teams-react-app
- npm.io page: https://npm.io/package/ms-teams-react-app

## Dependencies (27)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [react](https://npm.io/package/react.md) ^17.0.2
- [jquery](https://npm.io/package/jquery.md) ^3.6.0
- [env-cmd](https://npm.io/package/env-cmd.md) ^10.1.0
- [chart.js](https://npm.io/package/chart.js.md) ^3.3.0
- [utils.js](https://npm.io/package/utils.js.md) ^1.0.1
- [bootstrap](https://npm.io/package/bootstrap.md) ^4.6.0
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.2
- [typestyle](https://npm.io/package/typestyle.md) ^2.1.0
- [typescript](https://npm.io/package/typescript.md) ^4.2.4
- [web-vitals](https://npm.io/package/web-vitals.md) ^1.1.1
- [@types/react](https://npm.io/package/@types/react.md) ^17.0.4
- [font-awesome](https://npm.io/package/font-awesome.md) ^4.7.0
- [@types/jquery](https://npm.io/package/@types/jquery.md) ^3.5.5
- [react-scripts](https://npm.io/package/react-scripts.md) 4.0.3
- [@fluentui/react](https://npm.io/package/@fluentui/react.md) ^8.14.2
- [react-bootstrap](https://npm.io/package/react-bootstrap.md) ^1.5.2
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) ^17.0.3
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^5.2.0
- [@microsoft/teams-js](https://npm.io/package/@microsoft/teams-js.md) ^1.9.0
- [office-ui-fabric-core](https://npm.io/package/office-ui-fabric-core.md) ^11.0.0
- [@fluentui/example-data](https://npm.io/package/@fluentui/example-data.md) ^8.2.0
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^11.2.6
- [@types/react-router-dom](https://npm.io/package/@types/react-router-dom.md) ^5.1.7
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.11.10
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^12.8.3
- [msteams-ui-components-react](https://npm.io/package/msteams-ui-components-react.md) ^0.8.1

## Recent versions

- 1.0.0 (latest) — 2021-06-08

## README

# Development Setup

#### Evironment Variables
These files are the configurable variables of your application depending on the environment.  Update the REACT_APP_BASE variable into your Web API URLs. (This can be localhost if you are testing your api and app locally.)
- .env
- .env.dev
- .env.test


#### Application Details
This file is for the configuration tab. The installer/manifest will need this to anchor your web app to Microsoft Teams.

- Update the following in __src\shared\configurations\config.tsx__
    ```
    microsoftTeams.settings.setSettings({
        suggestedDisplayName: "<YOUR_APP_NAME_HERE>",
        entityId: "<YOUR_APP_NAME_HERE>",
        contentUrl: baseUrl + "/",
        websiteUrl: baseUrl + "/",
      });
    ```
- Update the following in __src\components\homepage\homepage.tsx__
    ``` 
    if (msEntityId === "<YOUR_APP_NAME_HERE>" || msEntityId === undefined) 
    ```
- Update the following in __src\shared\configurations\constants.js__
    ```
    const prod = {
        url: {
            API_URL: 'https://<INSERT YOUR APPLICATION API URL HERE>'
        }
    }
    ```
- *(Optional)*:Update __public\index.html__
    1. meta name
    2. title
    3. icon

---
_Source: https://npm.io/package/ms-teams-react-app · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
