Code Monkey home page Code Monkey logo

okta-vue-node-example's Introduction

Basic CRUD with Vue.js and Node

This example app shows how to create a Node.js API and display its data with a Vue.js UI.

Please read Build a Basic CRUD App with Vue.js and Node to see how this app was created.

Prerequisites: Node.js, Terraform, Terraform Provider Okta

Okta has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage, and secure users and roles in any application.

Getting Started

To install this example application, run the following commands:

git clone https://github.com/oktadeveloper/okta-vue-node-example.git
cd okta-vue-node-example
npm install

Install Terraform

This demo makes use of Terraform to automatically configure your Okta org for you.

Make sure that you've done the following before going any further:

Run Terraform

Once you've installed Terraform, run the commands below from the okta-vue-node-example directory:

Start by making a copy of the example Terraform terraform.tfvars.example file:

cp terraform.tfvars.example terraform.tfvars

Next, create and API token for your Okta org.

Then, using your favorite text editor, edit the terraform.tfvars file to relfect the settings for your Okta org.

Once you've edited terraform.tfvars, you're ready to run Terraform. Start by having Terraform install the requisite plugins:

terraform init

Lastly, apply Okta configuration located in setup.tf by running this command:

terraform apply

Start the app

At this point, you will have a copy of the project installed locally, and (thanks to Terraform) have your Okta org configured for this app. To start each app, follow the instructions below.

To run the server:

node ./src/server

To run the client:

npm run dev

Links

This example uses the following libraries provided by Okta:

Help

Please post any questions as comments on the blog post, or visit our Okta Developer Forums. You can also email [email protected] if you would like to create a support ticket.

License

Apache 2.0, see LICENSE.

okta-vue-node-example's People

Contributors

bparise avatar joelfranusic-okta avatar jpf avatar

Stargazers

Andy March avatar

Watchers

 avatar James Cloos avatar  avatar

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.