GithubHelp home page GithubHelp logo

silvestreh / feathers-nuxt Goto Github PK

View Code? Open in Web Editor NEW
80.0 80.0 20.0 5.86 MB

A Feathers + Nuxt boilerplate for kick starting server-side rendered VueJS real-time applications.

License: MIT License

JavaScript 75.32% Vue 19.20% CSS 5.48%

feathers-nuxt's People

Contributors

dependabot[bot] avatar designbyonyx avatar marshallswain avatar silvestreh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

feathers-nuxt's Issues

DEBUG=nuxt:* won't work

Hi
I|m trying to run your changes on windows, and the DEBUG direktive in the dev target of package.json don't work very well. I get a list of erreors, the main point being "DEBUG" is not recognized as an internal or external command.

Example for Facebook auth

Nice work done, Silvestre!

Can you provide some example for implementing Facebook auth through passport.js?
Used
feathers generate authentication
for authentication generation, what to do next?

Thanks!

Using `pug` for templates

Hi and thank you for this great boilerplate.

I wish to add support for pug (i.e jade) as template lang.

When following the common path (npm install pug pug-loader) it complains on compilation that:

ERROR  Failed to compile with 1 errors                                                                                                                                                 
This relative module was not found:
* ./default.vue?vue&type=template&id=23162205&scoped=true&lang=pug& in ./client/layouts/default.vue

Any idea how to solve it?

Npm run start error

[nuxt] Building done

[email protected] start /Users/andreyleonov/Desktop/feathers-nuxt
NODE_ENV=production node src/

events.js:182
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE :::3030
at Object._errnoException (util.js:1041:11)
at _exceptionWithHostPort (util.js:1064:20)
at Server.setupListenHandle [as _listen2] (net.js:1322:14)
at listenInCluster (net.js:1370:12)
at Server.listen (net.js:1466:7)
at Function.listen (/Users/andreyleonov/Desktop/feathers-nuxt/node_modules/express/lib/application.js:618:24)
at Function.listen (/Users/andreyleonov/Desktop/feathers-nuxt/node_modules/feathers/lib/application.js:155:30)
at Function.listen (/Users/andreyleonov/Desktop/feathers-nuxt/node_modules/uberproto/lib/proto.js:30:17)
at process.on (/Users/andreyleonov/Desktop/feathers-nuxt/src/index.js:14:22)
at emitNone (events.js:105:13)
at process.emit (events.js:207:7)
at process.nextTick (/Users/andreyleonov/Desktop/feathers-nuxt/src/middleware/nuxt.js:15:34)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:611:11)
at startup (bootstrap_node.js:158:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: NODE_ENV=production node src/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

How to include a service without nuxt intercepting

Hi, I see there's little activity in this repo although it's a valiant goal. Aside from updating deps to latest versions, everything works as expected. However, When I use feathers to install a service (neDB), I cannot post to localhost:3030/messages without getting a 404 returned as html. Is there a proper way to do this?

Server-rendered auth

Hi Silvestre,

I've seen your Feathers-Nuxt project, and I was wondering if you have any plans to fix the server-rendered authentication?

I'm really struggling to make this work, and if you have any advice it would be really appreciated.

Kind regards,

Jarno

package.json dev script not cross-env

Hi,

fixed this issue by adding the cross-env dependency
npm i --save-dev cross-env

and added cross-env as first command for dev and start scripts.
"dev": "cross-env DEBUG=nuxt:* nodemon --watch src/ --watch config/ src/index.js",
"start": "cross-env NODE_ENV=production node src/",

/users does not exist

hello just checking you app.
Seems pretty good
However i want to register a user and you only have the sign in option
I see the users service but posting to http://127.0.0.1:3030/users returns
{ statusCode: 404,
path: '/users',
message: 'This page could not be found' }

can you help me create a user?
regards
António

How to setup oauth2

How to implement oauth2? I couldnt figure out how to redirect the client to /auth/google nor /auth/facebook.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.