In this tutorial, you'll create an example REST API CRUD Angular
7 application with PHP and MySQL back-end.
You will be creating a simple RESTful API that supports GET,
POST, PUT and DELETE requests and allow you to perform CRUD
operations against a MySQL database to create, read, update and
delete records from a database.
For the application design, It's a simple interface for working
with vehicle insurance policies. For the sake of simplicity, you
are only going to add the following attributes to the policies
database table:
number which stores to the insurance policy number, amount which
stores the insurance amount.
This is of course far from being a complete database design for a
fully working insurance system. Because at least you need to add
other tables like employees, clients, coverage, vehicles and
drivers etc. And also the relationships between all these
entities.
Prerequisites
In …
[Read more]