COMP586
Full stack blog with Laravel, Angular 4, and MySQL db
that contains an MVC, SPA, foreign keys, ORM, authentication, authorization, unit testing, CRUD, and some SOLID principles.
- angular -> frontend
- Unit tests with Jasmine and Karma
- Location: src/app/post.service.spec.ts
- Unit tests with Jasmine and Karma
- blog -> backend
- Unit tests with PHPUnit
- Location: Tests/Unit/PostTest.php
- Unit tests with PHPUnit
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
run php artisan serve
to build build the project.
Run ng test
to execute the unit tests via Karma.
Run phpunit
to execute the unit tests in php unit tests.