menu

Node.js

A Spectrum community for Node.js ✨🐢🚀✨

Channels
# All channels
view-forward
# general
view-forward
# community
view-forward
# help
view-forward
# jobs
view-forward
# projects
view-forward
Team
Posts
Members
Info

(heroku api) get not work but post works.

I use Mongoosedb to store my data and deployed my web on Heroku. However, api post is funtional yet api get fails. I call api.get method to show the current collection, but it isnt working. …

thumbsup
0
message-simple
0

hi everyone, page refresh when user click on submit button.

I am using nodejs and express-validator for form. but when user click on submit button page refresh. both request get and post are for home route. but still it refresh the page. can anyone help me? it would be help you …

thumbsup
0
message-simple
0

How does handwriting.io work?

I came across this awesome app 😎 handwriting.io. It converts text to handwriting. ✍🏾 …

thumbsup
2
message-simple
1

i am getting some unknown error after deploying in heroku

2020-12-17T19:27:10.072776+00:00 app[web.1]: npm ERR! [email protected] start: node index.js 2020-12-17T19:27:10.073174+00:00 app[web.1]: npm ERR! Exit status 1 2020-12-17T19:27:10.073422+00:00 app[web.1]: npm ERR! 2020-12-17T19:27:10.073706+00:00 app[web.1]: npm ERR! Failed at…

thumbsup
0
message-simple
0

cookie

I am using node js , stripe and cookie. At which moment can I delete items from my card saved in a cookie after a purchase?

thumbsup
0
message-simple
1

Best way to expose a package's endpoints?

I'm working on a simple library which basically just consist of a single utility function. I want to make the library work everywhere. What the best way to export it? I'm current exporting it in formats: esm, cjs and umd. Is there any other formats I should also built it to? …

thumbsup
0
message-simple
0
·161d# help

Looking for Solution for task

task scheduler with date time in nodejs which is saved in mongodb.

thumbsup
0
message-simple
1
·173d# help

Got stucked!!!

Hey guys, how do I generate an API key for authenticated users? This API key will display on their dashboard whenever they log in. I intend to achieve this with Node & GraphQL.

thumbsup
1
message-simple
1

Node js: UnauthorizedError: invalid signature

I'm having this error in the backend of my application, I think it's because of express-jwt exactly in my secret. whenever I try to create a new category the error appears. …

thumbsup
2
message-simple
0

Got stucked!

hi guys. I have npm library which makes a GET request using node-fetch. I am using that library in a vuejs app. The problem is, when that API gets called, I get this error in the console. TypeError: 'fetch' called on an object that does not implement interface Window. I have…

thumbsup
0
message-simple
1