test-auth-chapter-sample's People
Forkers
wannabedreamtest-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
-
Is the chapter too long? Should we split it in two?
-
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.