极客学院服务端(管理端/客户端)
- npm start -w admin (管理端)
- npm start -w server (客户端)
- admin 管理端 swagger 地址 http://localhost:xxxx/api-docs
- server 客户端 swagger 地址 http://localhost:xxxx/api-docs
- npm i bcryptjs
- npm i @types/bcryptjs
- npm i @nestjs/jwt (生成token)
- npm i @nestjs/passport
- npm i passport
- npm i @types/passport
- npm i passport-local (登录)
- npm i @types/passport-local
- npm i passport-jwt (获取token)
- npm i @types/passport-jwt