Coder Social home page Coder Social logo

node-admin-'s Introduction

node-admin

  • 用到的技术栈
  • 数据库:mysql + NavicatPremium
  • 后端:node + express + mysqljs(node数据库模块)
  • 前端: vue(mvvm框架) + elment-ui(快速搭建前端页面) + axios(ajax) + webpack(构建工具)
  • 微信小程序 : 目前开发此管理系统主要是为了之前的微信小程序提供接口

前言

后端负责提供接口,操作数据库提供前端所需的数据和状态。 前端负责调用接口,将数据展示给用户,并对用户的一些操作转发给后端处理。 数据库当然是负责存储数据啦,关于数据库,网上很多教程都是使用mongodb,通过mongoose操作mongdb的确比mysql便捷很多,不过实际工作中还是使用mysql的多,技术还是得回归实际应用才能体现出价值。

功能

  • Element UI
  • 登录/注销
  • 用户管理
  • 会员管理
  • 商品管理
  • 跨域( 考虑到安全性问题 弃用axios跨域 改用node.js跨域)

项目运行

# front-end
npm install
npm run dev
npm run build (需要改 webpage.config.js  下 publicPath: '/' 为   publicPath: './')

localhost:8888

# back-end
npm install
node  app.js
localhost:9999/api/

node-admin-'s People

Contributors

cinoliu avatar

Watchers

 avatar  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.