Link to Git Repo
Link to Live Example
This Boilerplate was designed to provide a good base for the most common scenarios that are needed for a WordPress/Angular custom plugin. This set up could be used for any repeating pages such as user pages, product pages, etc.
The backend is handled by WordPress. The boilerplate adds a new table to the database to store the form data. It also handles the passing of data to and from the database using PHP classes.
The frontend Angular 8 app is contained in the /boilerplate/ path.
Details of the Angular app are below
A homepage that contains the button for the Git Repo.
A very simple form for a fake Colors Newsletter. Utilized the Angular Material library.
Uses route parameters to pass the Subscriber’s ID to the page and retrieve the data from the database.