Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dhis2/sms-configuration-app

New DHIS2 SMS web app
https://github.com/dhis2/sms-configuration-app

synced-settings tx web-app

Last synced: 10 days ago
JSON representation

New DHIS2 SMS web app

Awesome Lists containing this project

README

        

# sms-configuration-app

New DHIS2 SMS web app

This project was bootstrapped with [DHIS2 Application Platform](https://github.com/dhis2/app-platform).

## End-to-End tests

You will need a `cypress.env.json` file with the contents:

```json
{
"dhis2BaseUrl": "",
"dhis2Username": "",
"dhis2Password": "",
"dhis2DataTestPrefix": "dhis2-smsconfiguration"
}
```

The values for the first three fields need to be appropriate for the server you wish to test against. Check out [this](https://cli-utils-cypress.dhis2.nu/#/guides/add-login-credentials) documentation for more details

The `dhis2_datatest_prefix` needs to be correct for this app.

Run the tests with `yarn cy:run`.

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

### `yarn test`

Launches the test runner and runs all available tests found in `/src`.

See the section about [running tests](https://platform.dhis2.nu/#/scripts/test) for more information.

### `yarn build`

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.

A deployable `.zip` file can be found in `build/bundle`!

See the section about [building](https://platform.dhis2.nu/#/scripts/build) for more information.

## Learn More

You can learn more about the platform in the [DHIS2 Application Platform Documentation](https://platform.dhis2.nu/).

You can learn more about the runtime in the [DHIS2 Application Runtime Documentation](https://runtime.dhis2.nu/).

To learn React, check out the [React documentation](https://reactjs.org/).