Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defra/fws-app
https://github.com/defra/fws-app
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/defra/fws-app
- Owner: DEFRA
- License: other
- Created: 2019-01-24T08:03:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T14:38:18.000Z (25 days ago)
- Last Synced: 2024-10-25T18:43:24.222Z (24 days ago)
- Language: CSS
- Size: 2.09 MB
- Stars: 3
- Watchers: 13
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://www.travis-ci.com/DEFRA/fws-app.svg?token=gaJqX8fxhoSAADGJKMvM&branch=master)](https://www.travis-ci.com/DEFRA/fws-app)[![Maintainability](https://api.codeclimate.com/v1/badges/ecaa39b7ca248c7ede24/maintainability)](https://codeclimate.com/github/DEFRA/fws-app/maintainability)[![Test Coverage](https://api.codeclimate.com/v1/badges/ecaa39b7ca248c7ede24/test_coverage)](https://codeclimate.com/github/DEFRA/fws-app/test_coverage)
# fws-app
This is the FWIS management tool# Environment variables
| name | description | required | default | valid | notes |
|--------------------|------------------ |:--------:|-----------------------|:------------------:|-------|
| FWS_ENV_NAME | Environment name | no | dev | dev,tst,pre,prd | |
| PORT | Port number | no | 3000 | | |
| FWS_API_URL | API url | yes | | | |
| FWS_API_KEY | API key | yes | | | |
| FWS_APP_PROXY | Proxy | no | | | |
| AD_CLIENT_ID | AD Client Id | yes | | | |
| AD_CLIENT_SECRET | AD Client Secret | yes | | | |
| AD_TENANT | AD Tenant | yes | | | |
| AD_COOKIE_PASSWORD | Cookie password | yes | | | |
| IS_SECURE | Secure cookie | no | false | | |
| FORCE_HTTPS | Force https | no | false | | |
| HOME_PAGE | Home page | no | http://localhost:3000 | | |
| LOCAL_CACHE | Force local cache | no | true | | |
| REDIS_HOST | | no | | | |
| REDIS_PORT | | no | | | |
| FWS_APP_GA_ID | Google analytics Id | no | | | |# Prerequisites
Node v18+
# Running the application
First build the application using:
`$ npm run build`
This will build the css based on the `govuk-frontend` scss/styles.
Now the application is ready to run:
`$ node index.js`