Giter VIP home page Giter VIP logo

react-auth-app-example's Introduction

Hi there ๐Ÿ‘‹

react-auth-app-example's People

Contributors

jferrettiboke avatar jkomyno 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-auth-app-example's Issues

Add tests

Add tests with Jest for testing the entire app.

After signup no new records showing after redirect to dashboard page

Hello,
After again signup no new records showing after redirect to dashboard page. When user refresh the page then showing new records. I have added new changes in your CRUD. Right now able to do delete, update, Add new user etc.

But no updated record seen, without page refresh. Because maintaining browserhistory.

Kindly resolve this issue.

Thank you!

Not an issue, just wanted to say thank you! Your project helped me immensely!

error start

in node 8.1.2

$ npm start

(node:20397) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client
events.js:182
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE :::4000
at Object.exports._errnoException (util.js:1016:11)
at exports._exceptionWithHostPort (util.js:1039:20)
at Server.setupListenHandle [as _listen2] (net.js:1307:14)
at listenInCluster (net.js:1355:12)
at Server.listen (net.js:1455:7)
at Function.listen (/Users/cherdave/projects/ractgraphredux-app-example/server/node_modules/express/lib/application.js:618:24)
at Object. (/Users/cherdave/projects/ractgraphredux-app-example/server/src/server.js:32:5)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

localStorage vs Cookie?

I read that Web Storage (localStorage/sessionStorage) does not prevent against XSS attacks, and cookies are the preferred way of verifying a user. What are your thoughts on this? https://stormpath.com/blog/where-to-store-your-jwts-cookies-vs-html5-web-storage

Also, I was trying to figure out how to make the user's id available with this in graphql? Do I need to pass the jwt token manually in every graphql request that requires authentication? That sounds like a bit of a pain...

EDIT
I figured out the second part to my question (it's automatically handled by apollo in networkInterface.use() from client/index.js)

use this application as CRUD

Hello,
Firstly thanks for creating this application with Graphql+Redux.
How to add delete records and edit records links with functionality? Means user can delete/edit records.

isAuthenticated is not used?

I look for the code when isAuthenticated (connectors.js) is called but i've not found.

If I run on graphiql the query to list user and don't send a token:

query {
  users  {
        id
    email
    lastName
    firstName
        
      }
 

have no errors, so authentication is not working, am I right?

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.