Is there a way that I could use a base class that has all the common attributes and methods for my models but not linked with a database table, and then I could extend this base class when defining new models.  Here I have created the base, person mo...
I'm trying to create some REST API with user roles like admin, superadmin etc. I was trying to achieve this by using feathers-permissions module, but there are none working examples and the internet. Have you ever dealt with such task? What I do...
I`am using feathersjs.  I have read the documentation.  How do I execute this method to check on the service hook feathers-hook, or tell me another method of check.  const { disallow } = require('feathers-hooks-common');  function include() {...
im trying to use the new populate hook, but it doesn't seem to work. I just don't know what i'm doing wrong.  I have the merchatTypeMap model related 1:1 to the merchants model, and when i query the merchantTypeMap, it should answer with...
I'm using Feathers framework to my nodejs application and i have done creation of jwt in following way    app.service('authentication').hooks({     before: {       create: [         authentication.hooks.authenticate(config.strategies),...
I'm try to update mongodb document in single field, I have doubt to which method i want to use either patch or update using feathers framework, give an example how we can do it.   const { authenticate } = require('feathers-authentication'...
I'm new to feathersjs framework and try to write aggregation query it's not working properly.  hook.app.query = {     lookup: {       from: "orders",       localField:"serviceLocationId",       foreignField:"serviceLocatio...
I am using feathersjs with feathers-client with VueJS and I get a Cannot set property 'employees' of undefined typeerror. This is my code:  <template>   <ul>     <li v-for="employee in employees">{{employee.name}}<...
I tried to run my feathers app by using npm start and shows in command as app is launch on localhost:3030  but there is nothing pop up in browser . I disabled window firewall and rerun it but there is no difference. I also run the bruckets but it say...
I'm currently using Sequelize =>4.0 and finding having 2 models link together doesn't work how i assumed it would.  Basically, i have 2 models: user & punch.  user: id name email  punch: id userId <- user id time status  I would lik...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.