Giter VIP home page Giter VIP logo

test-auth-chapter-sample's People

Contributors

jmcdo29 avatar johnbiundo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wannabedream

test-auth-chapter-sample's Issues

Image serving

The profile pages serve a (unique) cat image for each logged in user. Just to give the page a little flavor. Right now I'm pulling from an open source image hoster, but I've seen it be a bit flakey. It might be worth just hosting these in Github. Any thoughts? Any spare cats pics? ๐Ÿฑ ๐Ÿ˜„

Overall Questions

  1. Is the chapter too long? Should we split it in two?

  2. I included filenames as a comment at the top of each line. You'll also note it's TS only. These are actually related: in order to use the @@filename directive, which is used throughout the docs, you have to provide both TS and JS versions. I think, given that we want to make it really easy to both build this, and to follow a good project structure, that including filenames is important. But it does deviate a bit from other chapters. Opinions?

Overall Code Quality

This is cobbled together from my research, comments shared on Github, Stack Overflow, etc. I think it represents Nest-ish coding standards, and I think it is properly implemented. However, it's "new" documentation code, so I'd really like some eyes on it!

Sessions, Serialize/Deserialize questions

As commented in the doc, in the Sessions section, this is one bit of the code I'm not 100% confident in. First, is this the right way to implement serialize/deserialize?

Second, I'm a little unclear why this even works. How is our SessionSerializer used by the nest-passport package? I'd like to at least understand it, and probably provide a bit of context in the doc.

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.