This repository contains the code for the Shared Parental Leave (SPL) and Stautory Shared Parental Pay (ShPP) eligibility tool service.
It is built on top of the BEIS SPL common baseline project, which in turn is forked from the GDS Node.js boilerplate project.
- Visual Studio Code and these extensions:
- LiveReload browser extension
Clone this code with Git:
git clone [email protected]:UKGovernmentBEIS/beis-spl-planner.git
Add the common project as a second remote in Git, to pull changes from there when needed:
git remote add common [email protected]:UKGovernmentBEIS/beis-spl-common.git
git fetch common
Navigate to the root of the project and install NPM packages:
npm install
Once NPM packages have been installed, run the project locally with:
npm run dev
You should now be able to see the project running at http://localhost:3000/ in your browser.
If you have installed the LiveReload browser extension as above, then you can enable it once on the page. This will cause the page to automatically reload when you make changes to any file.