Create a GET route on root using Express to render the form. This will benefit users as they need access to a form in order to submit their postcode.
Why?
A GET route on root is always required for Express apps as this is usually the entry point to a web service. It is important to render the form on this route so that the user doesn't have to navigate to other pages to find the form.
Acceptance Criteria?
Create an index.njk file which renders a form on the root GET route when the server receives a request at this endpoint.
What?
Create a GET route on root using Express to render the form. This will benefit users as they need access to a form in order to submit their postcode.
Why?
A GET route on root is always required for Express apps as this is usually the entry point to a web service. It is important to render the form on this route so that the user doesn't have to navigate to other pages to find the form.
Acceptance Criteria?
Create an index.njk file which renders a form on the root GET route when the server receives a request at this endpoint.