Skip to content

UICalc/nkc

 
 

Repository files navigation

nkc

Requirements

Main Frameworks

  • Web Framework: Koa
  • Template Language: pug
  • ORM: mongoose v4.*, v5.* may not be compatible.

Install

  1. install all the requirements
  2. clone this repo
  3. run npm install in your console
  4. npm start and you are able to access via localhost:1086

How to call an API

  • In browser
<script src='/interface_common.js'/>
<script>
  nkcAPI(`pathToYourTarget`, HTTP_Method, {someParameter:'someValue'})
    .then(jalert)
    .catch(jalert)
</script>

Future plans

  • change the template engine into React,
  • isomorphism
  • multiple device support(IOS, android, etc)

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.9%
  • HTML 15.5%
  • CSS 7.6%