The simple SPA application for Create, update and edit the conacts with login system.
Application has been created by using angular for front end and the laravel 5.1 for back end. Bootstarp 3, Bootcards, Bootbox and bootstrap notify were used for front end designing. node and npm were used for the package indicreation. Gulp and laravel elixir were used for minify the package javascript and css. Angular has been used with module wise.
Some front-end code explanations in this blog
- Download application using composer or as a zip file and then install composer. You may have to give file permissions to /public and /storage folders in linux distributions. Refer
- Setup back-end configurations for database and vhost and then run table migrations.
- Install node and npm if not installed jet, install npm packages. Perfer versions node -v 4.2.x and npm -v 3.5.x. If you are using some older versions for node and npm, you may have to update the npm packages.
- Run
npm run gulpto Minify and concat the dependancy packages. Minified files will auto include in layout view. - Run your application and initially you have to create the user through New user tab.
Front-end unit testing has been developed using karma and jasmine. You can test using $ ./node_modules/karma/bin/karma start