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

Ionic4 #1

Closed
wants to merge 17 commits into from
Closed

Ionic4 #1

wants to merge 17 commits into from

Conversation

fleboulch
Copy link
Owner

@fleboulch fleboulch commented Apr 14, 2019

Fix oktadev#19
Fix jhipster/generator-jhipster-ionic#67
Fix jhipster/generator-jhipster-ionic#58
Fix oktadev#18

Auth supported

  • JWT
  • OAuth

App tested

  • Monolith
  • Microservices

Left TODO

  • Replace baseref in ionic.starter.json with latest hash commit
  • Add editorconfig
  • Add entity support (will be added once this starter is available on the ionic-team repo)
  • Update README.md
  • Fix CI?

ionic.starter.json Outdated Show resolved Hide resolved
openPage(page) {
// Reset the content nav to have just this page
// we wouldn't want the back button to show in this scenario
this.navController.navigateForward(page.component);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this works for deep-linking like the code below used to, please remove the commented code below.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't implemented the entity generation part as I have to touch the generator project. I will do it next week I think

src/app/interceptors/auth.interceptor.ts Outdated Show resolved Hide resolved
src/app/services/auth/account.service.ts Outdated Show resolved Hide resolved
src/app/services/auth/auth-jwt.service.ts Outdated Show resolved Hide resolved
src/app/services/login/login.service.ts Outdated Show resolved Hide resolved
src/app/services/user/user.service.ts Outdated Show resolved Hide resolved
src/environments/environment.prod.ts Outdated Show resolved Hide resolved
@fleboulch
Copy link
Owner Author

fleboulch commented Apr 28, 2019

@mraible I fixed all your requested changes. I think I can merged this PR to open a PR on the ionic-teams starters repo.
Do you think this starter has to live as a fork of you starter or as a standalone project (in this case I will duplicate my current project)?

@mraible
Copy link

mraible commented Apr 28, 2019

@fleboulch I think we should create a new starter in https://github.com/ionic-team/starters/. I believe the contributing document has all the details you might need. I'd call it simply jhipster and put it under the https://github.com/ionic-team/starters/tree/master/angular/community directory.

If we create React and Vue versions, those will likely go under starters/react and starters/vue (I think).

As far as where to host the starter, I'm less concerned about where we host it. For consistency and discoverability, it might be good to keep it at oktadeveloper/ionic-jhipster-starter. If you'd like to go that route, please create a PR, or I can add you as a contributor. I can also create a maintenance branch for the current version so the master branch will target v4.

@fleboulch
Copy link
Owner Author

fleboulch commented Apr 28, 2019

Yes you are right for react and vue versions. But curiously vue directory haven't been created by the ionic-team yet.

Ok to host it in your repo. I thought if we merged this PR into master the starters/ionic-angular/community/oktadeveloper/jhipster will point to the last commit but with a maintenance branch it should be ok. (I don't know very well how submodules work on git)

I will create the PR on oktadeveloper/ionic-jhipster-starter and I will let you create the maintenance branch.
I will also create the PR to the ionic-team starters repo once you merged the PR on your repo

@fleboulch fleboulch closed this Apr 28, 2019
@fleboulch fleboulch deleted the ionic4 branch April 28, 2019 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants