starter-laravel-angular
starter-laravel-angular copied to clipboard
Creating a new MVC?
I was wondering what is the basic process too creating a new MVC / table to work in the same way as your todo with the API and page routeing?
Say a posts controller / modal and views with the angular routeing included?
I tried the normal route by copyings the MVC of the todos and manually created the table but I suspect this is wrong. It hasn't created the angular controllers, something now I suspect gulp does? I have never used gulp before.
Thanks
I added a model, contact;here are the files you need to create or change
app/Http/Controllers/ContactController.php
resources/assets/js/app.js
resources/assets/js/controllers/ContactController.js
resources/assets/js/services/ContactService.js
resources/views/layout.blade.php
resources/views/partials/contacts/create.php
resources/views/partials/contacts/index.php
resources/views/partials/contacts/view.php
routes/api.php