Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Development
??? | React.js, Node.js, MongoDB, GraphQL
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Settaz" data-source="post: 448985" data-attributes="member: 243"><p>1. I like going though the process, even if it's difficult seeing what I'm doing and learning new things whilst doing so I feel like Prisma with Graphql-Yoga kinda takes that process away.</p><p>2. I'm doing all this locally so then there's docker that I'd have to worry about and by that I mean understanding further than the standard same sentence about how "it's a vm but not really".</p><p>3. Prisma is a bit overbearing, which can be a good or bad thing depending on what you want.</p><p>[automerge]1559053867[/automerge]</p><p>Forgot to post about last update so I'll just copy the two here.</p><p></p><p>[SPOILER="Update #1"]</p><p>Authentication:</p><p>- Middleware created for express server</p><p>- Cookies used instead of local or session storage, with HTTP Only option to prevent javascript modification of token</p><p>- JWT Tokens used for signing and verification</p><p>- User assigned based on that verified token on the server side, no javascript involvement in tokens</p><p>-Resolvers starting to reflect these changes with the ability to check if a user is authorized</p><p></p><p>Apollo:</p><p>- Login Query added and token is assigned upon login</p><p>- Credentials included option enabled in HTTP Link</p><p>- Query added to gather posts from logged in user and provided for feed</p><p>[/SPOILER]</p><p></p><p>[SPOILER="Update #2"]</p><p></p><p>Subscriptions</p><p>- Websocket created</p><p>- Switched to Apollo Server with Express</p><p>- Added post creation subscription type defs</p><p></p><p>Other</p><p>- Move some authorization around out of resolvers explicitly (pasword hashing, etc)</p><p>- Created add type for Feed Reducer</p><p>- Moved Get Posts query to separate file</p><p>- Moved News API fetch back to front end</p><p>- Other sight cleaning up</p><p>[/SPOILER]</p><p></p><p>Subscription Live Update Example:</p><p>[SPOILER="Live Updates"]</p><p><img src="https://i.imgur.com/y3yOMhw.gif" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>[/SPOILER]</p><p></p><p>edit: Idk why a post from like a week or two ago is being merged with my most recent but w.e</p></blockquote><p></p>
[QUOTE="Settaz, post: 448985, member: 243"] 1. I like going though the process, even if it's difficult seeing what I'm doing and learning new things whilst doing so I feel like Prisma with Graphql-Yoga kinda takes that process away. 2. I'm doing all this locally so then there's docker that I'd have to worry about and by that I mean understanding further than the standard same sentence about how "it's a vm but not really". 3. Prisma is a bit overbearing, which can be a good or bad thing depending on what you want. [automerge]1559053867[/automerge] Forgot to post about last update so I'll just copy the two here. [SPOILER="Update #1"] Authentication: - Middleware created for express server - Cookies used instead of local or session storage, with HTTP Only option to prevent javascript modification of token - JWT Tokens used for signing and verification - User assigned based on that verified token on the server side, no javascript involvement in tokens -Resolvers starting to reflect these changes with the ability to check if a user is authorized Apollo: - Login Query added and token is assigned upon login - Credentials included option enabled in HTTP Link - Query added to gather posts from logged in user and provided for feed [/SPOILER] [SPOILER="Update #2"] Subscriptions - Websocket created - Switched to Apollo Server with Express - Added post creation subscription type defs Other - Move some authorization around out of resolvers explicitly (pasword hashing, etc) - Created add type for Feed Reducer - Moved Get Posts query to separate file - Moved News API fetch back to front end - Other sight cleaning up [/SPOILER] Subscription Live Update Example: [SPOILER="Live Updates"] [IMG]https://i.imgur.com/y3yOMhw.gif[/IMG] [/SPOILER] edit: Idk why a post from like a week or two ago is being merged with my most recent but w.e [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Development
??? | React.js, Node.js, MongoDB, GraphQL
Top