GithubHelp home page GithubHelp logo

todo-api's Introduction

前言

NodeJS基于Node + Express + Mysql实现restful API,参考项目

已完成接口:

user

  • 登录
  • 注册
  • 重置密码
  • 获取用户信息
  • 修改用户信息

todo task

  • 新增任务清单
  • 编辑任务清单
  • 删除任务清单
  • 获取任务清单列表

upload

  • 文件上传(form-data)
  • 文件上传(binary)
  • 文件上传(分片上传)
  • 删除文件

Project setup

npm install

init mysql data

-------------------------------------
-- workspaceFolder:本地工作目录的绝对路径
-------------------------------------
source ${workspaceFolder}/db/init.sql

Project start

npm start

Project APIDoc build

npm run apidoc or npm run autoBuildDoc

打包后查看api文档:http://localhost:8888/docs

todo-api's People

Contributors

nicholas-jie 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.