Giter Club home page Giter Club logo

node-serve's Introduction

node-serve

介绍

node+express+node-mysql搭建的服务端,搭配前端项目,完成了一个管理系统模板,实现的登录鉴权,新建路由,添加用户,添加角色和分配路由的基本功能

线上体验地址

https://www.pjy.cool/

前端项目仓库

https://gitee.com/peng-jiangyong/admin-template

接口文档

https://serve.pjy.cool/apidoc

项目文件说明

  • api 业务api接口
    • index.js api入口
  • apidoc 接口文档
  • config 配置文件
    • index.js 一些参数配置
    • log4.js log4配置
    • mysql.js mysql连接池配置
  • logs 日志文件
  • sql 数据库文件
  • static 静态资源文件
  • util 封装的工具库
  • app.js 入口文件
  • start.js node服务启动文件
  • stop.js node服务卸载文件

环境

node + mysql

安装依赖

npm i

启动

npm run dev

生成api文档

npm run doc

windows服务器部署

pm2

node-serve's People

Contributors

dyywork avatar

Watchers

彭江勇 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.