Coder Social home page Coder Social logo

dotunodumosu / full-stack-vue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chadgit/full-stack-vue

0.0 1.0 0.0 6.32 MB

Full stack VUE.js OKTA Node app with Sequalize ORM for SQLite

JavaScript 72.01% HTML 0.12% Vue 14.25% CSS 13.59% Python 0.02%

full-stack-vue's Introduction

Fullstack Components

  1. OKTA Boilerplate for authorization and identity management
  2. BootstrapVUE open source Theme "Arbano"
  3. Axios HTTP requests from node.js
  4. Flexible REST endpoints and controllers from Sequelize models in express
  5. TODO: Wrap the sqlite database and app in Electron and setup peer to peer with WebRTC

Backend API

API Allows you to:

  1. Fetch all sources and information
  2. Fetch a single source’s information in details
  3. Fetch all messages for a source
  4. Ability to CRUD source information

Here is the basic API backend route structure we want to see:

    localhost:8888/source  
    localhost:8888/source/:id
    localhost:8888/source/:id/message
    localhost:8888/message
    localhost:8888/message/:mid

Current API capabilities

  1. Allow a user to view all sources
  2. Allows a user to view a single source
    • With more details about the source
    • All the messages for that source
    • An element that displays the aggreate status of messages for a particular source (error, enqueued, finished, processing).

-------------------------------------------------------------------

OKTA Basic CRUD with Vue.js and Node to start off development

-------------------------------------------------------------------

Prerequisites: Node.js.

Okta has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure.

Getting Started

To install this application, run the following commands:

git clone https://github.com/ratherbsurfing/fullstack.git
cd fullstack
npm install

This will get a copy of the project installed locally. To start each app, follow the instructions below. To run the server:

node ./src/server

To run the client:

npm run dev

Create an Application in Okta

You will need to create an OpenID Connect Application in Okta to get your values to perform authentication.

Log in to your Okta Developer account (or sign up if you don’t have an account) and navigate to Applications > Add Application. Click Single-Page App, click Next, and give the app a name you’ll remember, and click Done.

Server Configuration

Set the issuer and copy the clientId into src/server.js.

const oktaJwtVerifier = new OktaJwtVerifier({
  clientId: '0oalccuta0fx2kHFl356',
  issuer: 'https://dev-108751.okta.com/oauth2/default'
})

NOTE: The value of {yourOktaDomain} should be something like dev-123456.oktapreview. Make sure you don't include -admin in the value!

Client Configuration

Set the issuer and copy the clientId into src/router/index.js.

Vue.use(Auth, {
  issuer: 'https://dev-108751.okta.com/oauth2/default',
  client_id: '0oalccuta0fx2kHFl356',
  redirect_uri: 'http://localhost:8080/implicit/callback',
  scope: 'openid profile email'
})

Links

This example uses the following libraries provided by Okta:

License

Apache 2.0, see LICENSE.

-------------------------------------------------------------------

Theme-ing components - base evolved from ARBANO VUE.js theme - https://demos.vuejsadmin.com/arbano/free/#/

-------------------------------------------------------------------

Arbano - Free vuejs Admin Template Tweet

Bootstrap Admin Templates Bundle

Check out VueJS Bootstrap Admin Dashboard Template

Arbano is a Free Template which can be used for both personal and business purpose. The light version is free but if you love to get dedicated support with more options then you with the pro version.

NOTE: Please remember to STAR this project and FOLLOW our Github to keep you update with this template.

Features

  • Recent Bootstrap and VueJS version
  • Built with Vue-CLI to generate components on the fly
  • Built with SCSS
  • Tons of Icons
  • Chart.js – Line Chart, Bar Chart, Doughnut Chart, Pie Chart, Polar Area Chart
  • Built in Widgets and Components
  • Advanced Google Maps Integrations- Google Maps, Bubble Maps, Leaflet Maps, Line Maps
  • Nested Routing with Components Name
  • Developer friendly code
  • Animated Progress Bar and Vue Progress Bars
  • Blazing Fast and LightWeight
  • Clean and Modern Design
  • Fully Customizable
  • Developer Friendly Code
  • Completely Modular! Every Single Element has its own module

What's included

Within the download you'll find the following directories and files:

arbano-vuejs-free/
├── src/              # Main project Folder
│   └── assets/           # CSS + JS + Font's 
│   └── components/           # Components elements
│   └── directives/           # Directives 
│   └── images/           # Image Folder
│   └── layouts/           # HomePage Layouts 
│   └── pages/           # Login, Register, 404 pages
│   └── router/           # Vue-router
│   └── store/           # State management
│   └── views/           # Render Front End View
│   └── App.vue           # App File
│   └── favicon.ico           # Favicon
│   └── main.js           # Main JS File
│   └── nav.js           # Nav Js File
├── package.json                 # Dependency Packages
├── README.md                 # Read Me
├── webpack.config.js                 # Webpack Configuration
├── yarn.lock                 # Yarn Package
├── index.html                # Main Index File

License

MIT License Copyright (c) 2018 Jewel Theme

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

full-stack-vue's People

Contributors

chadgit avatar

Watchers

James Cloos 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.