Skip to content

Rekamy/rekajs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rekajs

SPA application core elements. This packages are required by rekamy/Generator package

Installation

npm i rekajs

How to use

import { api, bloc, store } from 'rekajs'

api.get('my-endpoint')

if( bloc.hasApi() ) bloc.api.get()

if( bloc.hasStore() ) bloc.store.save(data)

auth.authenticate({username: 'username', password: 'password', token: 'token'})

if( auth.loggedIn() ) {
    // authorized method
} else {
    auth.redirect()
}

Components

  • api
  • store
  • auth
  • bloc
  • rtc (Real-time communicator)
  • widget (alert, notifier)
  • vue-component

Todo

  • store
  • auth
  • bloc
  • rtc (Real-time communicator)
  • widget (alert, notifier)
  • vue-component
  • handle another api driver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published