Skip to content

nick-golding-softwire/submit-social-housing-lettings-and-sales-data-prototype

 
 

Repository files navigation

Submit social housing lettings and sales data (CORE) prototype

This prototype is built using the GOV.UK Prototype Rig.

Requirements

  • Node.js v16

Installation

  1. Clone this repository:
    git clone git@github.com:communitiesuk/submit-social-housing-lettings-and-sales-data-prototype.git

  2. Install the dependencies:
    npm install

  3. Start the application:
    npm start

Developing locally

To automatically refresh the browser upon updating a file, use npm run dev.

Generating fake data

The prototype includes datasets for organisation and schemes. Source datasets can be found in app/datasets.

The data for organisations is partially based on the list of Registered providers of social housing, and both sets of data are embellished with faked values generated using Faker.

To generate organisation and scheme data for the application, run the following npm tasks (code for which can be found in /scripts):

  • npm run generate-datasets - Generate all organisation and schemes data
  • npm run generate-organisations - Generate organisation data only
  • npm run generate-schemes - Generate schemes data only

Generated data is saved to app/data/generated.

Linting

To lint JavaScript and CSS files, use npm run lint.

About

Prototype for the ‘Submit social housing lettings and sales data (CORE)’ service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.8%
  • Nunjucks 37.5%
  • SCSS 2.7%