GithubHelp home page GithubHelp logo

wkpyssa / pure-admin-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pure-admin/pure-admin-backend

0.0 0.0 0.0 3.21 MB

pure-admin官方后端

License: MIT License

Shell 0.37% TypeScript 83.67% HTML 15.97%

pure-admin-backend's Introduction

pure-admin官方后端
采用nodejs编写

快速启动

打开 MySql

来到项目的 src/config/index.ts 文件,查看第 50 行,将 mysql 的账号密码跟您的 mysql 保持一致

安装依赖

pnpm install

项目启动

采用 nodemon 运行项目,修改代码自动更新,无需重启

pnpm start

Swagger 文档访问地址

http://localhost:3000

如何在 Swagger 中添加 token 验证

① 在注册接口注册个账号,然后去请求登录接口,请求成功之后看下面的返回值 accessToken,复制这个 token
② 回到 Swagger,点击右上角的绿色边框 Authorize,您会看到一个 Value 的输入框,将复制的 token 前面加上 Bearer 粘贴上去,点确定即可,注意需要在 Bearer 后面加个一个空格

pure-admin-backend's People

Contributors

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