Questions tagged [feathersjs]

Feathers is a library that extends Express with the ability to easily create shared RESTful web services and real-time APIs using SocketIO and other websocket libraries.

Feathers is a library that extends Express with the ability to easily create shared RESTful web services and real-time APIs using SocketIO and other websocket libraries.

Useful links

Related tags

859 questions
0
votes
1 answer

Make route-specific code apply to all routes?

I have an admin panel where I customize things like my site's name, tagline, &c. The below code does exactly what I want it to do, but only for the index page: app.get("/", function (req, res) { app.service("customization").find().then(function…
NetOperator Wibby
  • 1,354
  • 5
  • 22
  • 44
0
votes
1 answer

Typescript import from ES2015 export: how to specify type declaration file

I'm trying to make a sparse type declaration file for feathersjs so I can better use it in Typescript. Feathers is written in ES2015 and distributes ES5 (via Babel). The ES5 default export: function createApplication() { var app = express(); …
drewlio
  • 767
  • 1
  • 6
  • 10
0
votes
2 answers

Auth0 and Socket.IO - correct implementation

I am working on securing socket.io services with Auth0 authentication. On the server, I did the below: app.configure(feathers.socketio(function(io) { if(process.env.JWT_AUTH == 'disable' && app.get('env') !== 'production') { console.log('***…
Moshe Shmukler
  • 1,270
  • 2
  • 21
  • 43
0
votes
1 answer

Generating test data with Faker

I am working on a script to generate test data using faker and JSON-Schema-Faker packages. Looking for examples with "schema inheritance" and optional fields. For example, I have a 'user' object with mandatory fields: '_id', 'firstName', 'lastName',…
Moshe Shmukler
  • 1,270
  • 2
  • 21
  • 43
0
votes
1 answer

Passport with feathersjs and local strategy, but without sessions

I'm stuck. Can Featherjs with Passport authenticate with the local strategy and not have sessions enabled? When I do enable sessions the first request is not authorised, but the second one is because the cookie from the first request is used. I…
0
votes
1 answer

featherjs callback is undefined

I'm trying to use feathersjs, but I can't get past the sample programs (the todo list on the feathers.js main site). The only thing that gets passed into the functions is the received data. param and callback are always undefined. var myService = { …
FlimboyJim
  • 69
  • 6
-1
votes
1 answer

feathers js: how to validate access token

So after authenticating I get an access token in which I store in browser session. My question is, in case user refreshes, how do I validate the token?
Lelouch
  • 910
  • 6
  • 19
-1
votes
1 answer

Pagination using featherjs in node js

how to pagination adding in node js using feathers js framework? i am currently using feather js framework front-end angular back-end nodejs i am facing issue pagination. Any solutions
-1
votes
1 answer

Feathers Js Learning

Can anyone help to find some best tutorials for Feathers JS. I have already gone thriugh their official documentations. But still is not able to completely follow their documentation. I was searching for some tutorials then. I found one in Udemy but…
Anand T P
  • 1
  • 1
-1
votes
1 answer

Feathers js upload file using raw json in postman

How do we configure feathers js to support form-data ? . Basically my current implementation right now supports raw json , but I have a feature where I have to upload file to amazon bucket and the only way to upload the file like using postman is…
Shane Rajesh
  • 67
  • 1
  • 6
-1
votes
2 answers

Npm start deletes new files from .nuxt

Whenever I run "npm start" it always deletes, and even "reset" files, that I add in my .nuxt folder. As in, when I add, as an example, a new component in the .nuxt > "components" folder, press CTRL + C in cmd to stop the server and then restart…
user7838243
-1
votes
1 answer

How would I check if an email address exists?

I'm learning NodeJS coming from Laravel. I've setup a basic validation for user registration in the hook provided by the Feathers generator. How would I use the user service to check if an email address already exists in the DB? I'm using MongoDB as…
Josh
  • 2,430
  • 4
  • 18
  • 30
-1
votes
1 answer

Feathers.js -> Change the layout of the after create hook

I've set up nuxt.js, converting my feathers project. So far it is functioning. Added something through postman appears in my browser on the webpage. There is on difference, namely when I post something the entire dataarray is pushed which doesn't…
Edgar Koster
  • 479
  • 1
  • 5
  • 18
-1
votes
1 answer

filter fields from response with feathersjs

I would like to be able to provide the fields I want to select as a query param. Something like this: http://localhost:3030/users?select[]=email. Than I could remove the fields in a after hook or better tell sequelize just to fetch this fields. So…
rogergl
  • 3,501
  • 2
  • 30
  • 49
-2
votes
1 answer

How to do soft delete in feathersJs using mongoose for mongoDb database

I want to implement the soft delete feature in the project I am working on currently. The project is using feathersjs and mongoose. If anybody is having any idea how to implement it inside feathers hooks
Sibtain Wani
  • 89
  • 1
  • 9
1 2 3
57
58