Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 19 02:46

    dependabot[bot] on bundler

    (compare)

  • May 19 02:46
    dependabot[bot] closed #231
  • May 19 02:46
    dependabot[bot] commented #231
  • May 19 02:46
    dependabot[bot] labeled #234
  • May 19 02:46
    dependabot[bot] labeled #234
  • May 19 02:46
    dependabot[bot] opened #234
  • May 19 02:46

    dependabot[bot] on bundler

    Bump nokogiri from 1.6.7.2 to 1… (compare)

  • Nov 08 2020 07:21
    pruhstal closed #197
  • Nov 02 2020 06:00
    Vivek-775 opened #233
  • Sep 30 2020 06:07
    zivkaziv closed #186
  • Jul 28 2020 04:04
    dependabot[bot] labeled #232
  • Jul 28 2020 04:04
    dependabot[bot] labeled #232
  • Jul 28 2020 04:04
    dependabot[bot] opened #232
  • Jul 28 2020 04:04

    dependabot[bot] on bundler

    Bump json from 1.8.3 to 2.3.1 i… (compare)

  • Jul 08 2020 04:40
    5thdimension closed #228
  • Jun 27 2020 06:44
    5thdimension synchronize #228
  • Jun 27 2020 06:43
    5thdimension synchronize #228
  • Jun 27 2020 06:41
    5thdimension synchronize #228
  • Jun 27 2020 06:40
    5thdimension synchronize #228
  • Jun 27 2020 06:40
    5thdimension synchronize #228
Adam Kelly
@adamisntdead
Okay
MobileAppVault
@MobileAppVault
i will edit my issue request
Adam Kelly
@adamisntdead
:smile:
Adam Kelly
@adamisntdead
@MobileAppVault Okay, looking at the same errors as you now, will try see if I can implement a fix
It seems that the bundle.js includes a html file? will have to see about that
okay, its referanced, but not included in the public/js directory, I'm going to look around for it in some other files
Adam Kelly
@adamisntdead
okay, well it loads localy
MobileAppVault
@MobileAppVault
on my local desk it runs when I build the app with "npm run build" Maybe the build is not running in the KUDO deployment script?
Adam Kelly
@adamisntdead
could we try building localy, and removing that from the gitignore, and pushing? Not sure if that would work though
MobileAppVault
@MobileAppVault
Sorry don't know what you mean
MobileAppVault
@MobileAppVault
I've tried the npm version instead of the webpack and it works fine.
MobileAppVault
@MobileAppVault
@adamisntdead do you have any update on that?
Adam Kelly
@adamisntdead
it seems that the file bundle.js is not building on the azure server, but is working localy?
MobileAppVault
@MobileAppVault
yes... locally its working.
Adam Kelly
@adamisntdead
I amn't familiar with webpack, but is it possible to copy the one generated localy, and add it to the repo? and leave it out of the gitignore
MobileAppVault
@MobileAppVault
maybe this is the same issue like with the npm version and the missing js folder? #137
I will try it tomorrow... For the moment I am fine with the npm solution without webpack.
Adam Kelly
@adamisntdead
possibly, try that and then we can see if there is a propper solution
Michael Gofron
@MichaelGofron
Hey ya'll. I'm trying to get github login through megaboilerplate but I haven't been able to get facebook login to work for me. My settings for the project are node.js, express, bootstrap, sass, react, handlebars, web pack, no testing, PSQL, authentication with email Facebook,google,twitter,vk, and heroku. When I login with fb it just gets stuck after login and does not appear to do anything.
Any ideas?
Michael Gofron
@MichaelGofron
Hey ya'll I figured out that it was just because I had not initialized my psql server.
Does anyone know how to create a github login with mega boilerplate?
Niall O'Brien
@niallobrien
@MichaelGofron @maael has a PR for it. :)
Niall O'Brien
@niallobrien
Otherwise, I'd suggest digging into Hackathon Starter and see how it's implemented there. I got passport-slack working pretty easily.
Michael Gofron
@MichaelGofron
@niallobrien There seems to be only one pull request and it doesn't seem related to github login.
Michael Gofron
@MichaelGofron
@niallobrien Yeah the Hackathon Starter code would be very easy to use passport-github but I'm using react and react router starter code and it's implemented using oauth so it's quite a bit more complex
Michael Gofron
@MichaelGofron
Alright I've managed to get the github login in to work by using @maael 's version. I found it on his fork of the project in a different branch
Matthew Elphick
@maael
Hi all, sweet project here, it's unbelievably useful! I've been working on github authentication, which is done and I'll open a proper PR for it when I'm not travelling in about a week. The only reason I hadn't opened it already is because there seems to be an issue with account linking under react where they don't link which I was trying to fix. It's in my branch, and I think master (can't remember for sure). It's an issue where the req doesnt have authentication headers or a cookie set at one point in the linking process, so it makes a new account. I can open a proper issue detailing it when I'm back as well. Should be easy to reproduce hopefully, just try to link accounts on a react project.
GramParallelo
@GramParallelo
Hey. Awesome project @sahat . I'm just starting out and I'm still learning the benefits of class instead of pure functions in a react project. Is there a reason why class is used here? Thanks.
Sahat Yalkabov
@sahat

@GramParallelo If you follow Redux's separation of containers and components, you could get away with pure functions, or times when you don't need any of the lifecycle methods like componentDidMount.

Generally, unless it's a very very simple component, I use classes by default because at some point I may need to hook into one of the lifecycle methods. If you start every component as a function, it becomes a pain to convert it to classes every time.

That's just my experience.

Yacob Gugsa
@yacobgugsa
Hi. Your live demos that are being hosted on Azure aren't working. This is what I get (I tried it with the other demos as well) http://megaboilerplate-demo1.azurewebsites.net/
Sahat Yalkabov
@sahat
@yacobgugsa Yeah I am aware of that problem. I've been asking Microsoft to extend BizPark program to me so I can host these demos but no luck so far. I am going to try to move these demos to OpenShift. I have 3 free OpenShift gears, perfect for 3 demos.
Michael Gofron
@MichaelGofron
Hey all. I am trying to extend a project I built with mega boilerplate to have another table. Unfortunately, I don't quite understand how the Users table is implemented in the mega boilerplate starter code. It seems that in migrations a file is generated which has the methods up and down and this determines the Users table when it is created. However, I've grepped through the files and I can't find any reference to migrations from any of the other files. Does anyone know where the reference is or has any idea how to make another table in the starter code project?
  • Platform: node
  • Framework: express
  • Template Engine: handlebars
  • CSS Framework: bootstrap
  • CSS Preprocessor: sass
  • JavaScript Framework: react
  • Build Tool: webpack
  • Unit Testing: none
  • Database: postgresql
  • Authentication: github,email
  • Deployment: heroku
Michael Gofron
@MichaelGofron
Ah, I've figured it out. It's knex style database. So all you have to do is defined your tables within the function in migrations called up
GramParallelo
@GramParallelo
Hey, I'm looking for a little help. So, I'm essentially doing this example https://facebook.github.io/react/tips/initial-ajax.html in my megaboilerplate express-react app. I'm wondering if there is a way to keep the state of the component after this first visit to the page. What happens now upon revisit, say after visiting the home component, is the page reverts to initialState. How do you keep the state after first visit?
GramParallelo
@GramParallelo
Sorry, you can disregard, this isn't really that clear without code. I'm making some progress, though. thanks
Sahat Yalkabov
@sahat
@GramParallelo That's why you typically use Redux for managing application state. Even if component is unmounted upon visiting a different route, the global app state would still persist. If you are talking about persisting state of a component on page reload, you will need to save your app state in local storage and then read from it on initial load.
jackmoscovi
@jackmoscovi1_twitter
How do i create a basic socket.io in react, any guidance?
Osama Alboqami
@iOsama
Hello everyone
Nguyen Dang Quang
@quangnd
somebody out there ?
Nguyen Dang Quang
@quangnd
@sahat Can you tell me how to add another Component to React-Redux boilerplate? I tried to add action, reducer, edit routes.js...but after finishing to render new component, webpage's auto redirect to 404 - Not Found. I can't figure out :(
Sahat Yalkabov
@sahat
Hey @jackmoscovi1_twitter have you tried adding client-side socket.io code inside componentDidMount()? I don't have much experience with Socket.io and React, but that approach worked for me in the past. https://github.com/sahat/newedenfaces-react/blob/master/app/components/Navbar.js#L17-L21
@quangnd If you have a simple component, just add under components and make sure to have a route for it. If it's a redux-aware component, make sure to also create actions and reducers for it. 404 error is usually related to routes, so check your rotues definition to make sure you are correctly adding a new route and make sure it points to the right component.
Nguyen Dang Quang
@quangnd
@sahat i tried with both of case. A simple and a redux-aware component but still not successful. Component was loaded but immediately webpage render 404. It seems relate to server rendering with client rendering. I used megaboilerplate with webpack. And yesterday, I tried with a another build system: Gulp. And finally, my component worked with Gulp. I think it's maybe have problems with webpack. Let me know if you want to see code. Thanks a lot.
Niall O'Brien
@niallobrien
@sahat I can only imagine the support nightmare behind a project with so many permutations. :)
Niall O'Brien
@niallobrien
Anyone have any thoughts with regards to updating this project to use async/await?
David
@askautoace
@sahat I used this to generate an app for React and see that you have it setup with server-side rendering. I'd like to know how I can disable the server side rendering. I'm a noob to React, coming from Angular world.
David
@askautoace
@sahat One last thing, I'm trying to change some of the content on Home.js and I'm getting a checksum error about what the client expects from the server, any pointers would be great. BTW, this is really nice.