Travel history Questionnaire
As a user I want to be able to fill out a questionnaire about my recent travel history So that it can be screened by a member of staff
Front-end
-
A form where the user can submit the entry -
Make the form dynamic using Javascript i.e. they can add countries and new sections appear -
Use a date picker to make the experience more user-friendly -
Using Javascript to submit and validate any form of data
Back-end
-
API route for handling these requests -
Once received this will need to be split into multiple inserts into the database i.e. they disclose 2 countries so that will require 2 inserts
Acceptance criteria
-
The front end picks up on simple errors to prevent cases where requests are sent to the server -
Using the correct HTTP error codes for errors, i.e. 406 for an invalid/malformed input -
Sticking to the readme file for the placement of files and naming conventions -
Tests are written and pass