Register a food business front end
Setting up your development environment
To run this application, you must use the register-a-food-business-environment repository to set up your development environment.
It is recommended that you install the Prettier code-formatting extension for your IDE.
Contributing to this repository
The following contribution guides are available:
High-level tasks
- Building, starting, and testing the application
- Creating a new page
- Adding a new data field
- Changing the form order
Further information and detailed tasks
- The repository structure
- The tech stack
- The dynamic form path
- Data flow
- Edit mode
- Transforming user data for the summary page
- Transforming user data for submission
Client-side JavaScript
Although vast majority of web users have JavaScript enabled by default, the application must allow for the registration process to be completed without client-side JavaScript. Where the use of JavaScript dramatically improves user experience, use "componentDidMount" to verify if it is enabled and render component requiring JavaScript - but make sure to provide a fallback component within tag for users who have it disabled.