An open API service indexing awesome lists of open source software.

https://github.com/kuangshp/nest-graphql-api

使用nestjs实现graphql api操作,实现基本的权限,上传文件单点登录等功能
https://github.com/kuangshp/nest-graphql-api

Last synced: 7 months ago
JSON representation

使用nestjs实现graphql api操作,实现基本的权限,上传文件单点登录等功能

Awesome Lists containing this project

README

          

## 一、说明

本项目是曾经搞`nest+graphql+serverless`训练营项目的最终代码,前端使用`react`写的比较简陋,主要还是如何在`nest`中使用`graphql`实现常见的接口查询,文件上传,权限限制的操作。

## 二、项目运行

* `nest-graphql-api`这个项目

* 本地安装`mysql`和`redis`修改项目中关于数据库的配置

* 安装依赖包

```properties
npm run install
```

* 运行项目

```properties
npm run start
```

* `react-blog`这个项目

* 安装依赖包

* 运行项目

```properties
npm run start
```

## 三、问题

* 1、如果你想对`nestjs`更多的认识可以参考我之前的一个项目,[项目地址](https://github.com/kuangshp/nestjs-mysql-api)

* 2、如果你还有技术问题,可以直接加我,我会帮你解答,如果你愿意也可以打赏一杯奶茶