Giter Club home page Giter Club logo

frontend-workflows-with-grunt-and-angularjs's Introduction

Hi there, I'm Dave Mosher ๐Ÿ‘‹๐Ÿป

davemo on a wakeboard

I'm a ๐Ÿ‡จ๐Ÿ‡ฆ Full-Stack Engineer

  • ๐Ÿ“ Based in Kemptville, ON
  • ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป I love JavaScript, Svelte, Devops, CSS and just about everything in between!
  • ๐Ÿ’ผ Currently working for Clerk, building complete user management tools.
  • โšก Fun fact: I can do a pretty good Donald Duck voice.
  • ๐Ÿค” You can read what I'm thinking about on my blog.
  • ๐ŸŽถ I compose and upload music on bandcamp and soundcloud.

frontend-workflows-with-grunt-and-angularjs's People

Contributors

commandantp avatar davemo avatar sdeering avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

frontend-workflows-with-grunt-and-angularjs's Issues

$routeChangeStart should be $locationChangeStart

https://github.com/davemo/frontend-workflows-with-grunt-and-angularjs/blob/master/with-lineman/app/js/run/protect_routes.js

I've been using your lineman angular boilerplate and what I found is that if you need to protect a route, you need to use $locationChangeStart instead of $routeChangeStart, because $routeChangeStart still executes the controller code, where as $locationChangeStart will check your protection first before calling the controller.

I am getting csrf_token mismatch error

I am trying to use this repo.. But when I try to log in I am getting :" {"error":{"type":"Illuminate\Session\TokenMismatchException","message":"","file":"/home/ytsejam/public_html/frontend/laravel-backend/app/filters.php","line":78}}"

When I check headers it shows " email: "[email protected]"
password: "admin"" but there is no csrf_token.

If I comment csrf_token in filter , the application works. How can I fix it ?

Code from dist folder always gives error

After lineman build command.

Though the build is successful, hosting on a server, I get the following error in Browser's console. I tried to find the problem, but couldn't. Please help.

Uncaught Error: Unknown provider: eProvider <- e <- $http <- AuthenticationService

lineman run - node_modules/grunt-angular-templates/tasks not found

After:
git clone https://github.com/davemo/frontend-workflows-with-grunt-and-angularjs.git

lineman run not happy:

Tasks directory "/usr/local/lib/node_modules/lineman/tasks/../node_modules/grunt-angular-templates/tasks" not found.
Tasks directory "/usr/local/lib/node_modules/lineman/tasks/../node_modules/grunt-ngmin/tasks" not found.

Running "configure" task

Running "common" task
Warning: Task "ngtemplates" not found. Used --force, continuing.

Running "dev" task

Running "server" task
Starting express web server in "./generated" on port 8000
Proxying API requests to localhost:3000

Running "watch" task
...

/usr/local/lib/node_modules/lineman/node_modules has many things:

$ pwd
/usr/local/lib/node_modules/lineman

$ ll node_modules/
total 0
drwxr-xr-x 23 nobody staff 782 Jun 20 11:03 .
drwxr-xr-x 14 nobody staff 476 Jun 20 11:03 ..
drwxr-xr-x 8 root staff 272 Jun 20 11:04 .bin
drwxr-xr-x 12 nobody staff 408 Jun 20 11:03 coffee-script
drwxr-xr-x 10 nobody staff 340 Jun 20 11:03 commander
drwxr-xr-x 13 nobody staff 442 Jun 20 11:03 express
drwxr-xr-x 16 nobody staff 544 Jun 20 11:03 grunt
drwxr-xr-x 15 nobody staff 510 Jun 20 11:03 grunt-contrib-clean
drwxr-xr-x 16 nobody staff 544 Jun 20 11:03 grunt-contrib-coffee
drwxr-xr-x 16 nobody staff 544 Jun 20 11:03 grunt-contrib-concat
drwxr-xr-x 16 nobody staff 544 Jun 20 11:03 grunt-contrib-cssmin
drwxr-xr-x 18 nobody staff 612 Jun 20 11:03 grunt-contrib-handlebars
drwxr-xr-x 17 nobody staff 578 Jun 20 11:03 grunt-contrib-jshint
drwxr-xr-x 16 nobody staff 544 Jun 20 11:03 grunt-contrib-jst
drwxr-xr-x 16 nobody staff 544 Jun 20 11:03 grunt-contrib-less
drwxr-xr-x 13 nobody staff 442 Jun 20 11:03 grunt-contrib-sass
drwxr-xr-x 16 nobody staff 544 Jun 20 11:03 grunt-contrib-uglify
drwxr-xr-x 7 nobody staff 238 Jun 20 11:03 grunt-watch-nospawn
drwxr-xr-x 15 nobody staff 510 Jun 20 11:03 http-proxy
drwxr-xr-x 10 nobody staff 340 Jun 20 11:03 node.extend
drwxr-xr-x 8 nobody staff 272 Jun 20 11:03 semver
drwxr-xr-x 13 nobody staff 442 Jun 20 11:03 testem
drwxr-xr-x 13 nobody staff 442 Jun 20 11:03 watch_r

but no "grunt-angular-templates"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.