Skip to content
/ nkc Public
forked from kccd/nkc

一个基于 Node.js 构建的技术交流平台。

License

Notifications You must be signed in to change notification settings

MINGSHEN09/nkc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nkc

Requirements

Main Frameworks

Install

  1. install all the requirements
  2. clone this repo
  3. run npm build in your console
  4. run npm run init to initialize data
  5. run npm run build-pages-p to compile the page
  6. npm start and you are able to access via localhost:1086

How to call an API

  • In browser
import {nkcAPI} from 'pages/lib/js/netAPI';
import {sweetError, sweetSuccess} from 'pages/lib/js/sweetAlert';

nkcAPI(`pathToYourTarget`, HTTP_Method, {someParameter:'someValue'})
  .then(sweetSuccess)
  .catch(sweetError)

Future plans

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

About

一个基于 Node.js 构建的技术交流平台。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.8%
  • Pug 10.6%
  • Vue 8.8%
  • CSS 3.4%
  • Less 3.1%
  • HTML 2.3%