Giter Club home page Giter Club logo

angular2-token-example's People

Contributors

ezilocchi avatar neroniaky 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

Watchers

 avatar  avatar  avatar  avatar

angular2-token-example's Issues

Stop pushing compiled files

This GitHub repository is connected to Heroku and gets deployed automatically. In order for this to work files in angular2-client need to compiled locally and pushed to the repository.
A solution that runs npm run build before deploying to Heroku would be preferable.

post multipart data

hi! i started to use angular2-token but i can found a example for how make a post with a file. someone can help me pls ?

Question: Using rails for sign-up and sign-in pages

I learned a lot from this example app, thank you for making it!

I have an issue however, related to app file size. It doesn't seem like a good idea to load the entire Angular app on the root "/" of my domain. If users just want to see some info and read the FAQ page, they shouldn't have to download 3MB of JS. So I was wondering about having the homepage, sign-in and sign-up pages not be part of the Angular app. Is this even possible? Can I use regular devise gem views for this? Or will the user only be logged in Rails, and then when Angular loads, the user isn't logged in.

Thanks for your time!

API access_token use

Hi,

Is it possible to have access to the access_token sent by the provider to then use it to call it's api.
For example, I can log-in with my Instagram. However, if I want to call the Instagram API, I need the access_token sent back by Instagram.

Is this achievable?

Getting an error when webpack is running

I'm very sorry as I should be able to figure this out, but I am getting the error below when trying to run the postinstall...

webpack --inline --colors --progress --display-error-details --display-cached

 90% optimize assetsError: Debug Failure. False expression: File  has unknown extension.
    at Object.assert (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:3177:23)
    at Object.fail (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:3182:19)
    at Object.extensionFromPath (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:3324:15)
    at /Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:62182:46
    at Array.map (native)
    at resolveModuleNamesWorker (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:62176:141)
    at resolveModuleNamesReusingOldState (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:62300:24)
    at processImportedModules (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:63152:35)
    at findSourceFile (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:63062:17)
    at processSourceFile (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:62965:27)
    at processRootFile (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:62852:13)
    at /Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:62203:60
    at Object.forEach (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:1294:30)
    at Object.createProgram (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:62203:16)
    at synchronizeHostData (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:78867:33)
    at Object.getProgram (/Users/john/pda/pda-vnext/angular2-client/node_modules/typescript/lib/typescript.js:78967:13)
    at State.updateProgram (/Users/john/pda/pda-vnext/angular2-client/node_modules/awesome-typescript-loader/dist.babel/host.js:241:42)
    at /Users/john/pda/pda-vnext/angular2-client/node_modules/awesome-typescript-loader/dist.babel/instance.js:333:27
    at Compiler.<anonymous> (/Users/john/pda/pda-vnext/angular2-client/node_modules/awesome-typescript-loader/dist.babel/instance.js:354:15)
    at Compiler.next (/Users/john/pda/pda-vnext/angular2-client/node_modules/tapable/lib/Tapable.js:69:14)
    at Compiler.<anonymous> (/Users/john/pda/pda-vnext/angular2-client/node_modules/webpack/lib/CachePlugin.js:40:4)
    at Compiler.applyPluginsAsync (/Users/john/pda/pda-vnext/angular2-client/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.<anonymous> (/Users/john/pda/pda-vnext/angular2-client/node_modules/webpack/lib/Compiler.js:400:9)
    at Compilation.<anonymous> (/Users/john/pda/pda-vnext/angular2-client/node_modules/webpack/lib/Compilation.js:577:13)
    at Compilation.next (/Users/john/pda/pda-vnext/angular2-client/node_modules/tapable/lib/Tapable.js:67:11)
    at Compilation.<anonymous> (/Users/john/pda/pda-vnext/angular2-client/node_modules/webpack/lib/ProgressPlugin.js:69:5)
    at Compilation.applyPluginsAsync (/Users/john/pda/pda-vnext/angular2-client/node_modules/tapable/lib/Tapable.js:71:13)
    at Compilation.<anonymous> (/Users/john/pda/pda-vnext/angular2-client/node_modules/webpack/lib/Compilation.js:572:10)
    at Compilation.next (/Users/john/pda/pda-vnext/angular2-client/node_modules/tapable/lib/Tapable.js:67:11)
    at Compilation.<anonymous> (/Users/john/pda/pda-vnext/angular2-client/node_modules/webpack/lib/ProgressPlugin.js:65:5)

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.