GithubHelp home page GithubHelp logo

oktadev / okta-jhipster-ionic-example Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 1.0 96.83 MB

Ionic, Angular, and Spring Boot {author: @jhipster }

Home Page: https://developer.okta.com/blog/2022/05/12/ionic-angular-jhipster

Shell 0.18% JavaScript 2.03% Procfile 0.01% Batchfile 0.09% Java 39.31% HTML 3.95% SCSS 2.40% TypeScript 50.82% CSS 0.44% Dockerfile 0.18% Swift 0.44% Ruby 0.14%
ionic spring-boot jhipster jhipster-blueprint angular

okta-jhipster-ionic-example's Introduction

Ionic, Angular, and JHipster Example ✨

This example app shows you how to create an Ionic app you can deploy as a SPA, PWA, or mobile app on iOS and Android! Please read Build Secure Ionic Apps with Angular and JHipster to see how it was created.

Prerequisites: Node 16, Java 11, and Docker Desktop

Okta and Auth0 are on the same team now, so this example shows you how to use both. Auth0 is an easy to implement, adaptable authentication and authorization platform. Basically, we make your login box awesome. Okta has authentication and user management APIs that reduce development time with instant-on, scalable user infrastructure.

@mraible's recommendation: use Okta for this tutorial because the Okta CLI automates most of it for you!

Getting Started

To install this example, clone this repository.

git clone https://github.com/oktadev/okta-jhipster-ionic-example.git \
  jhipster-ionic --depth 1
cd jhipster-ionic/backend

Start the Spring Boot backend:

npm run ci:e2e:prepare # starts Keycloak and PostgreSQL in Docker
./mvnw

Then, navigate to http://localhost:8080 in your favorite browser. Sign in with admin/admin credentials and rejoice when it all works.

Open a new terminal window and enter the jhipster-ionic/ionic-app directory. Install its dependencies and run npm start to test the Ionic client.

npm install
npm start

You should be able to sign in and add a new photo. See how JHipster made all of this possible in How to integrate Ionic and Spring Boot.

Deploy your app to iOS and Android. Then, try switching your identity provider to Okta and Auth0.

This example uses the following open source libraries:

Help

Please post any questions as comments on the blog post.

License

Apache 2.0, see LICENSE.

okta-jhipster-ionic-example's People

Contributors

dependabot[bot] avatar imgbotapp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

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.