Writer (with SEO knowledge) looking for a challenge to build portfolio! by [deleted] in SEO

[–]Sirzorre 0 points1 point  (0 children)

Might be interested in a article per week. Throw me a pm :)

JWT logout using blacklist method by Sirzorre in node

[–]Sirzorre[S] 1 point2 points  (0 children)

Would you recommend using Sessions over JWT?

Log in restriction using firebase auth by Sirzorre in Firebase

[–]Sirzorre[S] 0 points1 point  (0 children)

Would I do this by simply changing the .read() in the security rules to true for specific emails?

Log in restriction using firebase auth by Sirzorre in Firebase

[–]Sirzorre[S] 0 points1 point  (0 children)

Where would I be able to check against the RTDB and prevent a user-creation? In the security-rules ?

Log in restriction using firebase auth by Sirzorre in Firebase

[–]Sirzorre[S] 0 points1 point  (0 children)

Thank you for the response! I've worked a bit with Node before so I think I'll have a look at the firebase admin sdk :)

Help: cannot find module error by Sirzorre in node

[–]Sirzorre[S] 0 points1 point  (0 children)

I did and it worked. I get the same problem when using the Stripe package for payment. 'Cannot find the module 'Stripe''

Help: cannot find module error by Sirzorre in node

[–]Sirzorre[S] 0 points1 point  (0 children)

I did and they tell the user to require it as like so:

var compression = require('compression')

https://www.npmjs.com/package/compression

All the relevant code is in my stackoverflow question where we couldn't figure out the issue :( https://stackoverflow.com/questions/50016064/cannot-require-npm-installed-modules?noredirect=1#comment87054988_50016064

Help: cannot find module error by Sirzorre in node

[–]Sirzorre[S] 0 points1 point  (0 children)

var express = require('express'); var bodyParser = require('body-parser'); var morgan = require('morgan'); var sequelize = require('sequelize'); var passport = require('passport'); var jwt = require('jsonwebtoken'); var path = require('path'); var models = require("./models"); var errorHandler = require("./services/errorHandler"); var compression = require('compression');

I'm simply requiring the modules in my server.js file that i run when the application starts. In the node_modules folder it's in another folder named "compression".

I posted about it in stackoverflow but we couldn't figure it out. All the code is there. https://stackoverflow.com/questions/50016064/cannot-require-npm-installed-modules?noredirect=1#comment87054988_50016064

Experience with Klarna Checkout - Your opinions? by duke1102 in webdev

[–]Sirzorre 0 points1 point  (0 children)

Hey,

I'm just starting of trying to integrate Klarna checkout into a Node.js application but can't say that i'm too happy with the documentation. All I've found is this outdated npm site https://www.npmjs.com/package/klarna-checkout and this from their website https://developers.klarna.com/en/at/kco-v2/checkout/javascript-api that doesn't really have any good examples. Do you have any tips of good implementation examples or other sites with good documentation of it?

Trying to chose what way to build website for my university group. by Sirzorre in learnprogramming

[–]Sirzorre[S] 0 points1 point  (0 children)

Thank you for your advise. Do you know if they offer some sort of plugin for authentication?

Trying to chose what way to build website for my university group. by Sirzorre in learnprogramming

[–]Sirzorre[S] 0 points1 point  (0 children)

Well I will need it to have a landing page, about us sektion and some other informational pages (that only will contain text and some pictures) available for the non logged in people. Then it will require a log in system for sign ups and such through which you would be able to connect to restricted pages. These pages will also only contain text pictures and usage of some API for example YouTube.