Giter Club home page Giter Club logo

hapi-react-fullstack-boilerplate's People

Contributors

erikras avatar

Stargazers

 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

hapi-react-fullstack-boilerplate's Issues

Separate backend API server from frontend SSR server

Once again, thanks for the fantastic boilerplate! I've already integrated your Hails project locally (kind of a must if I want control over your abstraction, sorry :( ) and updated most packages to newer versions.

I think the most common production situation is a clear separation between frontend and backend servers. That is, I don't need to shutdown the backend API to make tweaks to my frontend (and it's own Hapi SSR server). I know you're doing something with Hails which already encapsulates the API server from the SSR part of the server, but I think being able to run them on different servers (physically, API on server 1, SSR server on 2) is better aimed at "production-ready".

I'll have to figure this out myself, any pointers would be welcome, I'll eventually get it :)

Thanks again!

Sequelize init and hails

First off -- nice repo! Really digging the code structure.

One thing I'm mainly confused about is hails. So it seems like it's something you rolled on your own, and you reference it in this project. Specifically for some db migrations instead of using sequelize directly. (e.g. : sequelize model:create --name Test --attributes name:string,description:text).

If I ran that command in the root directory, I'd get something like:

Unable to find models path (/Sites/hapi-react-fullstack-boilerplate/db/models). Did you run sequelize init?

I couldn't find out where hails was specifically calling sequelize init, so I'm curious how it works without calling sequelize init?

oAuth2 Integration

+1 million, been looking for a modern example! Thanks for this fork, it's been a tremendous help!

Found incompatible module

I download and cannot make yarn install

yarn install v1.3.2 [1/5] Validating package.json... error [email protected]: The engine "node" is incompatible with this module. Expected version "8.0.0". error [email protected]: The engine "yarn" is incompatible with this module. Expected version "0.24.5". error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

My Installed package 's version:

node: 8.9.1 npm: 5.5.1 yarn: 1.3.2

So please tell me what I need to do to install

Tks all

Uncaught (in promise) TypeError: socket.on is not a function

Running into the following errors both when hitting https://hapi-react-fullstack-bp.herokuapp.com/chat:

Uncaught (in promise) TypeError: socket.on is not a function

As well as this one:

Uncaught TypeError: socket.emit is not a function

when trying to submit a message in the chat.

I see that you are setting a global variable here:

global.socket = connectNes(store, wsUrl)

which you reference in Chat.js:

, but is it not getting instantiated properly with:

const wsUrl = `ws${window.location.protocol === 'https:' ? 's' : ''}://${window.location.host}`
global.socket = connectNes(store, wsUrl)

?

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.