alphagov / learningtime-hh-sem1-gov-location-service

Early talent assigned learning time, Semester 1 project for Harley Harris
1 stars 1 forks source link

Install Nunjucks to render a form on the root GET route #10

Open harley-harris opened 1 year ago

harley-harris commented 1 year ago

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.