Category : node.js

After authenticated by 3rd-party, my Angular 11 (localhost:4200) is now talking to my node API server. API server sends back a sessionID in a cookie, but subsequent browser request to API doesn’t have a cookie. This is how API (localhost:3000) sends back a cookie res.cookie(‘sessionID’, 123); Verified in F12, Response Headers, Set-Cookie: sessionID=123; Path=/ To ..

Read more

I have Angular application with Capacitor (without Ionic) and I need to send push notifications to the user app from Node.js backend. How would I do that? Any article, source or example would be much appreciable? Here is capacitor.config.ts file import { CapacitorConfig } from ‘@capacitor/cli’; const config: CapacitorConfig = { appId: ‘xxx.xxxxxxx.xxx’, appName: ‘ABC’, ..

Read more