Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
hod-foundation
Advanced tools
Install the dependencies and build the project resources
$ npm install
Initiate the server in development mode (Express is used to serve the static resources in development).
$ npm run dev
Then select one of the following journeys to see the applcation in action
See the development documentation for a complete description of the application and how to maintain and support BRP.
Start the application in default mode (production). We use Nginx to serve our static resources in production and ci.
$ npm start
Start the application with Nodemon in development mode. Debug is switched on and the server restarts when the JS or Sass are recompiled.
$ npm run dev
Run the unit tests
$ npm run test
Run the EcmaScript (ES) linter. Rules are defined in .eslintrc
$ npm run lint
Run the jscs style checker. Rules are defined in .jscsrc.json
$ npm run style
Analyse the quality of the codebase (for results - open ./reports/plato/index.html)
$ npm run quality
Compile the Sass to CSS
$ npm run sass
For details on Acceptance tests
See the package.json for a full list of scripts.
Full list of environment variables
FAQs
An Express-based framework for building .gov.uk forms.
The npm package hod-foundation receives a total of 0 weekly downloads. As such, hod-foundation popularity was classified as not popular.
We found that hod-foundation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.