Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this actually work at all with react-router 4? #134

Open
ensemblebd opened this issue Nov 17, 2017 · 5 comments
Open

Does this actually work at all with react-router 4? #134

ensemblebd opened this issue Nov 17, 2017 · 5 comments

Comments

@ensemblebd
Copy link

ensemblebd commented Nov 17, 2017

Just curious. It took incredible effort to figure out how to properly implement react-router, and more specifically, react-tap-event-plugin. The documentation is trash. Yours is sufficient, but just barely.

Has anyone used this with react-router 4 successfully?

Am almost at the point of scrapping all these user created systems, and just implementing the whole thing myself from ground up. Can't find a single working system that just straight up works.

@jameschetwood
Copy link

Subscribing

@ensemblebd
Copy link
Author

ensemblebd commented Dec 13, 2017

FYI I was able to get it working. Man the documentation on all of these packages makes this tough.
There were tons of issues I had going on. But I'll see about working up a repo for anyone interested , with a working sample.
It relies upon modified accounts-ui and accounts-material-ui forks (in my profile already), which are comprised of merged resultant from all existing forks from all the people that forked these repos already to fix issues the author won't.
Will reply back once I have that prepped and upped.

@derwaldgeist
Copy link

Hey, I would be interested 😊

ensemblebd added a commit to ensemblebd/meteor-react-boilerplate-devops that referenced this issue Apr 27, 2019
…ilerplate" branch.

Tested functional 2019-04-26 from scratch install as per README.md.
In response to studiointeract/accounts-ui#134
@ensemblebd
Copy link
Author

ensemblebd commented Apr 27, 2019

Guten tag :)
The client we were hired by to develop a project for, ended up scrapping their ambition/funding before we got anywhere significant.
So this boilerplate is about a year old project that we briefly worked on for a couple weeks.
It's not production level quality, definitely dev sandbox only.
Nevertheless, here it is:
https://github.com/ensemblebd/meteor-react-boilerplate-devops

The adjusted repo's for a functional auth system

You'll notice the usage of the local "packages" folder in root, as per meteor's recommendation for overriding packages published to atmosphere.
And so the modified packages are (as per readme usage, and git submodules):
https://github.com/ensemblebd/accounts-ui
https://github.com/ensemblebd/accounts-material-ui

I won't be able to provide any support, but hope it helps.
Just now gave it a good once-over (fresh install from nothing to boot) before pushing up to public repo. And it works still.
Please note:
It uses smtp for email, and can only register on mobile app (per it's original intended app design).
Use Robo3T to modify user role post-registration to become an admin (or register [email protected]) which it checks for, and then you can use the website login (server side admin area). Grep/replace "mycompany.com" to your own intended domain.
Or just edit the settings.json and switch the flag for "forceMobileInDev" to true.. then open up http://localhost:3000 and chrome scale it down to look like a phone.

Side notes

FYI I was using the JetBrains IDE for this (Webstorm). **On Windows. ** If you don't, the npm commands work fine too.. On windows.
Last I touched this, it compiled fine, ran fine, and tested fine on Android and web. And supports building to APK for publishing on app store if you have you ssh keys configured.
Since it's using DDP, you can throw your mongo database anywhere you want. Check the ./buildrun/ folder.
IOS was on the todo list, but I don't see why it wouldn't work for it.
The facebook and google oauth is barely functional, so you might need to tweak the local repo's a bit. But database auth works fine.
Just fork those, and replace the git submodules in your project. Tweak way.

Retrospect

Am honestly pretty underwhelmed by the accounts-ui system. Going forward I'd probably choose to use something else.
Hopefully i nuked/sterilized all the company and client stuff in there. Think i got it all.

@derwaldgeist
Copy link

Thanks for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants