Skip to content

jsnkng/Code-Sample-Laravel-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Code-Sample-Laravel-API

This is an API developed in Laravel for Synagis ETOC and EPAF programs.

PHP QA Tools implemented with Grunt

The code that goes with this article on mariehogebrandt.se

To get up and running install

  • "node" for javascript
  • "npm" for javascript package management
  • "grunt-cli" grunt's CLI
  • "composer" for php package management

Then run

$ composer install

$ npm install

$ grunt (builds the app and runs the tests)

$ php artisan serve (laravel's built in server for http://localhost:8000) serves files from /public

Put your views in app/views directory and assets in the public/ directory.

TODO: Create src/ for html, scss, js, img, etc. for grunt to assemble into the public/ (instead of dist/) directory.

public/css public/images public/fonts public/js

To call from a Laravel view...

{{ HTML::script('js/scrollTo.js'); }}

{{ HTML::style('css/css.css'); }}

About

This is an API developed in Laravel for Synagis ETOC and EPAF programs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published