基于 Vue2、Egg、GraphQL、Typescript 全新技术栈的脚手架项目

5,771 阅读1分钟

This entry is for introductory learning about the following stacks and is not recommended for direct production

Technology Stack

  • main stack

    • Egg - Born to build better enterprise frameworks and apps.
    • Vue - Simple yet powerful library for building modern web interfaces.
    • TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
    • Apollo - Apollo is an incrementally-adoptable data stack that manages the flow of data between clients and backends. Based on GraphQL
    • GraphQL - GraphQL is a query language and execution engine tied to any backend service.
  • other stack

    • Yarn - Fast, reliable, and secure dependency management.
    • Vuex - Centralized State Management for Vue.js.
    • VueRouter - It deeply integrates with Vue.js core to make building Single Page Applications with Vue.js a breeze.
    • Element - Desktop UI elements for Vue.js 2.0
    • JSON Web Tokens - Industry standard RFC 7519 method for representing claims securely between two parties.
    • Webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets.
    • Babel - Babel is a compiler for writing next generation JavaScript.
    • Release It! - Interactive release tool for Git repos. Bump version, commit, tag, push, build, publish to npm.
    • Karma - Spectacular Test Runner for JavaScript.

Usage

// preinstall
npm i -g yarn
npm i release-it -g
npm i nodemon -g

// development
yarn && npm run dev

// login
name: okoala
pwd:  123456