Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
6bac3a8
create UI repo
Jul 22, 2024
f85262f
Merge pull request #1 from jackpollinsK/001-create-ui-repo
jackpollinsK Jul 22, 2024
673f679
added linting checks
Jul 22, 2024
a6058d2
Frontend Docker
PhilipGardinerK Jul 22, 2024
4b2d64a
Merge pull request #3 from jackpollinsK/002-Frontend-AWS
PhilipGardinerK Jul 22, 2024
40cec48
github/workflow
PhilipGardinerK Jul 22, 2024
c20c2ee
Format Error
PhilipGardinerK Jul 22, 2024
e4b66b0
Audit Error Fixed
PhilipGardinerK Jul 22, 2024
412ee23
Merge pull request #4 from jackpollinsK/002-Changing-docker-workflows
PhilipGardinerK Jul 22, 2024
4b028cb
linting check
PhilipGardinerK Jul 22, 2024
5c6f2d2
Merge pull request #2 from jackpollinsK/US038-linting-check
AdamB-Kainos Jul 23, 2024
7a5e36d
added basic lgoin page
AdamB-Kainos Jul 23, 2024
08fcc34
Added pa11y-ci to the project alongside a .pa11yci file where the URL…
kajatraczykowska Jul 23, 2024
59b4cc0
Added pa11y-ci to the project alongside a .pa11yci file where the URL…
kajatraczykowska Jul 23, 2024
b3afb6b
Trying to fix pa11y vulnerabilities
kajatraczykowska Jul 23, 2024
cdd689e
Included instructions on how to run the accessibility tests locally i…
kajatraczykowska Jul 23, 2024
34db681
Create pa11yci.yml to run pa11yci with every pull request
kajatraczykowska Jul 23, 2024
b985cd8
US001-view-job-roles
Jul 23, 2024
ac75146
Frontend Docker
PhilipGardinerK Jul 23, 2024
c7d6d45
Installed missing packages
PhilipGardinerK Jul 23, 2024
a32dada
Added backend url to dockerfile
PhilipGardinerK Jul 23, 2024
95f3076
merge with main
Jul 23, 2024
11b0d77
Removed url
PhilipGardinerK Jul 23, 2024
276be5d
Merge pull request #7 from jackpollinsK/101-Automated-Accessibility-T…
kajatraczykowska Jul 23, 2024
4380d6d
Merge pull request #5 from jackpollinsK/100-Accessibility-Testing
kajatraczykowska Jul 23, 2024
90b75a2
Merge branch 'main' into US001-view-job-roles
Jul 23, 2024
82811cc
fixing linting errors
Jul 23, 2024
c2f85a9
removed =
PhilipGardinerK Jul 23, 2024
906d251
Merge pull request #8 from jackpollinsK/002-Fixing-Docker
PhilipGardinerK Jul 23, 2024
4815896
updated
Jul 23, 2024
7b81ee2
Merge branch 'main' into US001-view-job-roles
PhilipGardinerK Jul 23, 2024
07ce66e
Setting up basic Frontpage Framework
ThomasS-kainos Jul 24, 2024
11ebad0
Merge branch 'main' into 040b_Logout_Button
PhilipGardinerK Jul 24, 2024
6883a7d
Finishing homepage
ThomasS-kainos Jul 24, 2024
65b890c
Updated
ThomasS-kainos Jul 24, 2024
80c0486
Minor changes
ThomasS-kainos Jul 24, 2024
046b6b2
Logout Logic, logoutForm.html used for testing
PhilipGardinerK Jul 24, 2024
340d284
finished service tests
AdamB-Kainos Jul 24, 2024
7aaa029
Merge branch '040b_Logout_Button' into 040_LoginSystem_AdamB
PhilipGardinerK Jul 24, 2024
6124530
Created a Site template
ThomasS-kainos Jul 24, 2024
f545e92
working on controller tests
AdamB-Kainos Jul 24, 2024
216ed6f
Updated to fix unwated rollbacks
ThomasS-kainos Jul 24, 2024
9095d23
Quick fix
ThomasS-kainos Jul 24, 2024
6939fce
Changes to make page more modular
ThomasS-kainos Jul 24, 2024
b76b048
Spelling fixed
ThomasS-kainos Jul 24, 2024
4964fab
Merge pull request #10 from jackpollinsK/004-Branding
ThomasS-kainos Jul 24, 2024
1683393
worked a bit more on the controller tests
AdamB-Kainos Jul 24, 2024
35e9c35
worked on controller tests more
AdamB-Kainos Jul 24, 2024
16b8669
Merged and updated html page
ThomasS-kainos Jul 25, 2024
305cd8a
Merge
ThomasS-kainos Jul 25, 2024
c4618e4
Attempting fix
ThomasS-kainos Jul 25, 2024
3eb36d1
Fixed Post test
ThomasS-kainos Jul 25, 2024
3ce324a
Updated to new Webpage system
ThomasS-kainos Jul 25, 2024
6a6a183
Updated pa11yci.yml to run nightly
kajatraczykowska Jul 25, 2024
6422098
finished all controller tests
AdamB-Kainos Jul 25, 2024
8b36b82
Making it look nicer
ThomasS-kainos Jul 25, 2024
4b1f112
Merge pull request #15 from jackpollinsK/101-Automated-Accessibility-…
kajatraczykowska Jul 25, 2024
2decaf9
finished all controller tests
AdamB-Kainos Jul 25, 2024
29b4c53
Added basic stylig
ThomasS-kainos Jul 25, 2024
00179e6
Merge remote-tracking branch 'refs/remotes/origin/040_LoginSystem_Ada…
ThomasS-kainos Jul 25, 2024
01d60a0
Removed debuging info
ThomasS-kainos Jul 25, 2024
4643e21
Update README.md
PhilipGardinerK Jul 25, 2024
100367e
finished frontend
AdamB-Kainos Jul 25, 2024
0920232
Started work
ThomasS-kainos Jul 25, 2024
69acb3a
Fixed package install issue
ThomasS-kainos Jul 25, 2024
c35da52
Merge remote-tracking branch 'refs/remotes/origin/040_LoginSystem_Ada…
ThomasS-kainos Jul 25, 2024
ae1035f
fixed linting
AdamB-Kainos Jul 25, 2024
47151e1
Fix linting errors
ThomasS-kainos Jul 25, 2024
1dd63fd
Removed bad links
ThomasS-kainos Jul 25, 2024
fd469aa
Unit Controller and Service Tests for Front End View Job Roles
Egal97 Jul 25, 2024
d081359
Fixed merge conflict
ThomasS-kainos Jul 25, 2024
8c72003
fixed ui
ThomasS-kainos Jul 25, 2024
6b83b09
ready to pr
Jul 25, 2024
78b62a2
changes for peer review
Jul 25, 2024
f4297e9
fixed service test error
AdamB-Kainos Jul 25, 2024
6c52303
fixed service test
AdamB-Kainos Jul 25, 2024
4f1d6c1
Fixes to tests
ThomasS-kainos Jul 26, 2024
dca1b8e
Test changes
ThomasS-kainos Jul 26, 2024
27e03f1
added login url
AdamB-Kainos Jul 26, 2024
0b03e3e
service test woring and changes made
Jul 26, 2024
68ea061
Add URLS to pa11 tests
ThomasS-kainos Jul 26, 2024
b9878fc
Fix merge conflict
ThomasS-kainos Jul 26, 2024
d32beb6
added home controller tests
AdamB-Kainos Jul 26, 2024
9b8c755
changes fixed and tests fixed
Jul 26, 2024
ed295d5
Merge pull request #17 from jackpollinsK/US001-view-job-roles
jackpollinsK Jul 26, 2024
5c76638
Solved merge conflict
ThomasS-kainos Jul 26, 2024
46c47fd
Update README.md
ThomasS-kainos Jul 26, 2024
806a1e9
finished controller tetsts
AdamB-Kainos Jul 26, 2024
35a7916
Merge pull request #16 from jackpollinsK/040_LoginSystem_AdamB
jackpollinsK Jul 26, 2024
4212cf6
Hotfixed
ThomasS-kainos Jul 26, 2024
2a486a9
Merge pull request #19 from jackpollinsK/hotfix
ThomasS-kainos Jul 26, 2024
16f5b45
Updated pa11yci.yml to run at every pull request and nightly
kajatraczykowska Jul 26, 2024
c15eee7
Updated node version as tests fail to run on github but work locally
kajatraczykowska Jul 26, 2024
fef2ca2
Updated node version as was failing to download from last change
kajatraczykowska Jul 26, 2024
a48b489
Update pa11yci.yml
kajatraczykowska Jul 26, 2024
53bf8e8
Update pa11yci.yml
kajatraczykowska Jul 26, 2024
d065dd2
Update pa11yci.yml
kajatraczykowska Jul 26, 2024
6972ee8
Update .pa11yci to ignore chrome sandboxing security feature
kajatraczykowska Jul 26, 2024
86fe591
Update .pa11yci to ignore sandbox
kajatraczykowska Jul 26, 2024
900edfb
Updated pa11yci.yml to get rid of a url we used while testing
kajatraczykowska Jul 26, 2024
58ec20f
Updated .pa11yci to remove concurrency setting
kajatraczykowska Jul 26, 2024
33a29a3
Added hiding if user is logged in
ThomasS-kainos Jul 29, 2024
76a3bce
Updated pa11yci.yml
kajatraczykowska Jul 29, 2024
eb8cac4
Using Session Token
ThomasS-kainos Jul 29, 2024
c20702e
testing
ThomasS-kainos Jul 29, 2024
35cbeed
Login button now hides
ThomasS-kainos Jul 29, 2024
ec7aff0
improved login frontend error messages
AdamB-Kainos Jul 29, 2024
310a40e
Merge pull request #20 from jackpollinsK/101-Automated-Accessibility-…
AdamB-Kainos Jul 29, 2024
df938c1
Updating chromedriver version
henrykainos Jul 29, 2024
791d7db
Creating Test page objects
henrykainos Jul 29, 2024
2491cf8
Creating Login UI test
henrykainos Jul 29, 2024
63a5706
added auth files
AdamB-Kainos Jul 29, 2024
76fd830
fixed comment
AdamB-Kainos Jul 29, 2024
c63d8f7
Login button now hides
ThomasS-kainos Jul 29, 2024
a42f638
Remove unrelated file
ThomasS-kainos Jul 29, 2024
a582341
Changed to elif
ThomasS-kainos Jul 29, 2024
265bc39
Fixed Merge
ThomasS-kainos Jul 29, 2024
3677f26
worked on auth
AdamB-Kainos Jul 29, 2024
4c18371
fixed tests
AdamB-Kainos Jul 29, 2024
d3f38e3
Merge pull request #22 from jackpollinsK/040_LoginSystem_AdamB
AdamB-Kainos Jul 29, 2024
259469c
Merge pull request #18 from jackpollinsK/PhilipGardinerK-frontend-readme
AdamB-Kainos Jul 29, 2024
d493648
Changed to else
ThomasS-kainos Jul 29, 2024
2f0cecc
finished auth for current API endpoints
AdamB-Kainos Jul 29, 2024
d554e0d
Setup For get by ID
ThomasS-kainos Jul 29, 2024
bfc9fb3
Fixed Footer, And links
ThomasS-kainos Jul 29, 2024
7af04f8
worked a bit more on tests
AdamB-Kainos Jul 29, 2024
bb57212
Added button visuals
ThomasS-kainos Jul 30, 2024
cb4f2e2
Nav Hylights
ThomasS-kainos Jul 30, 2024
2fcc684
Merged with main
ThomasS-kainos Jul 30, 2024
f9e8563
finished tests
AdamB-Kainos Jul 30, 2024
0e1e3a4
Add core functionality to get Job by ID
ThomasS-kainos Jul 30, 2024
40e4c47
fixed typo
AdamB-Kainos Jul 30, 2024
b873029
removed about us
Jul 30, 2024
3c646ec
Tests Writen for get by ID
ThomasS-kainos Jul 30, 2024
1e8c074
Linter Fixes
ThomasS-kainos Jul 30, 2024
732d8f2
linting fixes and job roles clickable
Jul 30, 2024
516bf99
Merge branch 'US002-View-Job-Role' of github.com:jackpollinsK/team_4_…
Jul 30, 2024
e2de142
Fixed navbar incorect labeling
ThomasS-kainos Jul 30, 2024
33978a5
improve layout of allJobRolesList.html
Jul 30, 2024
c81c4b2
Improving Page Object Model
henrykainos Jul 30, 2024
c3eba4f
finished authorisation testing
AdamB-Kainos Jul 30, 2024
6d411e1
adding styling
Jul 30, 2024
d460061
finished aauthorisation tests
AdamB-Kainos Jul 30, 2024
8381039
finished authorisation
AdamB-Kainos Jul 30, 2024
5429025
added code covergae report
AdamB-Kainos Jul 30, 2024
32b86f9
code coverage
AdamB-Kainos Jul 31, 2024
31a6ff4
centering single job role
Jul 31, 2024
fb472df
Merge pull request #24 from jackpollinsK/hotfix
ThomasS-kainos Jul 31, 2024
26350c9
added code coverage to git ignore
AdamB-Kainos Jul 31, 2024
fe412bb
removed coverage and .nyc_output from tracking
AdamB-Kainos Jul 31, 2024
756ff07
fixing merge
ThomasS-kainos Jul 31, 2024
1270b46
Updated tests to use tokens
ThomasS-kainos Jul 31, 2024
ea09137
Merge pull request #21 from jackpollinsK/Login_improvements
AdamB-Kainos Jul 31, 2024
85c7b75
Changed test to check for login/logout buttons to verify correspondin…
henrykainos Jul 31, 2024
8dc54e9
added env variable for url
henrykainos Jul 31, 2024
54b1955
removing getTitleText function
henrykainos Jul 31, 2024
91b789b
fixed merge conflicts
AdamB-Kainos Jul 31, 2024
09d4290
Merge pull request #26 from jackpollinsK/005-BkAuth-System
AdamB-Kainos Jul 31, 2024
11b9c60
Pulled from main
henrykainos Jul 31, 2024
c7b7453
Actually added env variables
henrykainos Jul 31, 2024
7bdd1c3
changed folder
AdamB-Kainos Jul 31, 2024
ade4969
fixed coverage
AdamB-Kainos Jul 31, 2024
d782393
Removed console logs
henrykainos Jul 31, 2024
21c4dc2
fixed merge conflict
AdamB-Kainos Jul 31, 2024
09bcd04
merge conflicts
AdamB-Kainos Jul 31, 2024
1961ba4
add mising test yml
ThomasS-kainos Jul 31, 2024
a01570e
removed redudant button function
henrykainos Jul 31, 2024
23a6d83
Updating comment
henrykainos Jul 31, 2024
fd42d30
Added to build
ThomasS-kainos Jul 31, 2024
805c97f
added tests to build.yml
AdamB-Kainos Jul 31, 2024
cfdb61f
added test to build.yml
AdamB-Kainos Jul 31, 2024
c8cff13
fixed tests
AdamB-Kainos Jul 31, 2024
4c571f2
Ammended BASE_URL to API_URL
henrykainos Jul 31, 2024
71230cb
help
henrykainos Jul 31, 2024
a43b926
Adding chrome options for github
henrykainos Jul 31, 2024
060e781
Adding chrome install to buil.yaml
henrykainos Jul 31, 2024
2f98c7b
Fixed chrome options
henrykainos Jul 31, 2024
27d7be2
Added chrome verison to build.yaml
henrykainos Jul 31, 2024
e09f4f7
please work chrome
henrykainos Jul 31, 2024
161b933
please work chrome2
henrykainos Jul 31, 2024
397829c
please work chrome3
henrykainos Jul 31, 2024
6fb7162
fixed test
AdamB-Kainos Jul 31, 2024
4d5a09f
fixed tests
AdamB-Kainos Jul 31, 2024
f192a65
please work chrome4 - touch the floor
henrykainos Jul 31, 2024
e2876e2
fixed tests
AdamB-Kainos Jul 31, 2024
188c7ae
nothing
henrykainos Jul 31, 2024
7d05ca4
nothing
henrykainos Jul 31, 2024
df3060e
fixed tests
AdamB-Kainos Jul 31, 2024
da6226c
fixed test
AdamB-Kainos Jul 31, 2024
a196bbf
fixed test
AdamB-Kainos Jul 31, 2024
799dd1d
fixed test
AdamB-Kainos Jul 31, 2024
4c7a378
fixed test
AdamB-Kainos Jul 31, 2024
ef26f8b
fixed tests
AdamB-Kainos Jul 31, 2024
3c8514b
fixed test
AdamB-Kainos Jul 31, 2024
b66ae62
fixed test
AdamB-Kainos Jul 31, 2024
4650373
fixed tests
AdamB-Kainos Jul 31, 2024
eb6bda6
fixed test
AdamB-Kainos Jul 31, 2024
e26d943
fixed tests
AdamB-Kainos Jul 31, 2024
34a4fc6
Updataing chromedriver 127.0.1
henrykainos Aug 1, 2024
7cf1c1c
merged and adding auth existing
Aug 1, 2024
6978b9a
About Card Fix
Egal97 Aug 1, 2024
c2a10e9
Adding console.log to print url
henrykainos Aug 1, 2024
a4ca073
Additonaly console.logs
henrykainos Aug 1, 2024
9f76f5b
fixed login issue
AdamB-Kainos Aug 1, 2024
606176a
fixes
Aug 1, 2024
de3a791
Merge pull request #25 from jackpollinsK/US002-View-Job-Role
jackpollinsK Aug 1, 2024
f862a39
Merge pull request #27 from jackpollinsK/hotfix
jackpollinsK Aug 1, 2024
7c2b3f3
fixing test
AdamB-Kainos Aug 1, 2024
66cf7db
fixed merge conflict
AdamB-Kainos Aug 1, 2024
a4ce850
test
AdamB-Kainos Aug 1, 2024
338172c
fixed linter
AdamB-Kainos Aug 1, 2024
f791f06
removing console.logs
henrykainos Aug 1, 2024
754c204
Creating yaml for UI tests
henrykainos Aug 1, 2024
fceb975
Removing Unit test from UI test yaml
henrykainos Aug 1, 2024
b44bff0
Readding unit tests back to build.yaml
henrykainos Aug 1, 2024
4d8a7f9
Removing run on PR
henrykainos Aug 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Audit

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
audit:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20.14.0

- name: Install dependencies
run: npm install

- name: Run audit
run: npm audit
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Run CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20.14.0

- name: Install dependencies
run: npm install

- name: Run CI
run: npm ci

- name: Run Tests
env:
WEBSITE_URL: ${{ secrets.WEBSITE_URL }}
LOGIN_EMAIL_1: ${{ secrets.LOGIN_EMAIL_1 }}
LOGIN_PASSWORD_1: ${{ secrets.LOGIN_PASSWORD_1 }}
run: npm test
35 changes: 35 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Docker Image CI

on:
push:
branches: [ main ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Build & push the Docker image
env:
API_URL: ${{ secrets.API_URL }}
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: employee_demo
IMAGE_TAG: team4-web
run: |
docker build --build-arg API_URL=${API_URL} -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
28 changes: 28 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Linter

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
linter:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20.14.0

- name: Install dependencies
run: npm install

- name: Run linter
run: npm run linter
28 changes: 28 additions & 0 deletions .github/workflows/pa11yci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run pa11yci

on:

schedule:
- cron: '0 0 * * *'

jobs:
pa11yci:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20.14.0

- name: Install dependencies
run: npm install

- name: Install pa11y-ci
run: npm install -g pa11y-ci

- name: Run pa11y-ci
run: pa11y-ci
44 changes: 44 additions & 0 deletions .github/workflows/uiTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Run UI Tests

on:
schedule:
- cron: '0 0 * * *'

jobs:
uiTests:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20.14.0

- name: Install dependencies
run: npm install

- name: Install Google Chrome
run: |
# Add the Google Chrome repository
sudo apt-get update
sudo apt-get install -y wget gnupg
wget https://dl.google.com/linux/linux_signing_key.pub
sudo apt-key add linux_signing_key.pub
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'

# Install Google Chrome
sudo apt-get update
sudo apt-get install -y google-chrome-stable

- name: Run CI
run: npm ci

- name: Run UI Tests
env:
WEBSITE_URL: ${{ secrets.WEBSITE_URL }}
LOGIN_EMAIL_1: ${{ secrets.LOGIN_EMAIL_1 }}
LOGIN_PASSWORD_1: ${{ secrets.LOGIN_PASSWORD_1 }}
run: npm run test-ui
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist
node_modules
.DS_Store
.DS_Store
coverage
.nyc_output
11 changes: 11 additions & 0 deletions .pa11yci
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"defaults": {
"chromeLaunchConfig":
{ "args": ["--no-sandbox"] }
},
"urls": [
"https://nczcbkjcc7.eu-west-1.awsapprunner.com/",
"https://nczcbkjcc7.eu-west-1.awsapprunner.com/loginForm",
"https://nczcbkjcc7.eu-west-1.awsapprunner.com/logoutForm"
]
}
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM node:18

WORKDIR /home/node/app

COPY package*.json ./

ARG API_URL

ENV API_URL ${API_URL}

RUN npm install

COPY . .

ENV NODE_TLS_REJECT_UNAUTHORIZED=0

EXPOSE 3000

CMD [ "npm", "start" ]

21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,24 @@
2. Start the application with `npm start` or `npm run dev` to reload the server when changes are made
3. To check that your application is running enter url http://localhost:3000

## How to run the accessibillity tests (pa11y-ci) locally
1. Make sure that in the .pa11yci file, the URLS of the pages you would like to test are included
2. Run `pa11y-ci`in the terminal

## How to run unit tests locally
1. Make sure that your have ran `npm install` to install dependencies
2. Run `npm test` in the terminal

## How to make a new page
1. Create a html file in the views/pages directory
2. Add these nunjucks arround the div you are adding:
{% extends "siteTemplate.html" %}
{% block content %}
//Your Content here
{% endblock %}
3. Test it to make sure it works

## Backend
1. Follow the steps to run the backend for this application <a href="https://github.com/shaunganley/java-dropwizard-flyway-starter" target="_blank">here</a>
1. Follow the steps to run the backend for this application [here](https://github.com/shaunganley/java-dropwizard-flyway-starter")
2. To test the backend you can check out the API [here](https://ivpztrmt3p.eu-west-1.awsapprunner.com/swagger)

Loading