Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexh250786313/nextjs-antd-githubissues-blog
博客项目,基于 Nextjs + Antd + GitHub api + now.sh
https://github.com/hexh250786313/nextjs-antd-githubissues-blog
antd blog github-api issues nextjs nextjs-antd rest-api vercel
Last synced: 5 days ago
JSON representation
博客项目,基于 Nextjs + Antd + GitHub api + now.sh
- Host: GitHub
- URL: https://github.com/hexh250786313/nextjs-antd-githubissues-blog
- Owner: hexh250786313
- Created: 2020-06-07T13:20:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-22T09:36:12.000Z (5 months ago)
- Last Synced: 2024-06-22T18:59:35.389Z (5 months ago)
- Topics: antd, blog, github-api, issues, nextjs, nextjs-antd, rest-api, vercel
- Language: JavaScript
- Homepage: https://blog.hexh.xyz
- Size: 1.35 MB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nextjs-Antd-GithubIssues-Blog
### 关于这个项目
⚠️ **注意,不支持 IE 浏览器**
点这里看一下:[hexh's blog](https://blog.hexh.xyz)
### 这个项目有什么特别之处
1. 利用 GitHub Issues 和 search 相关的接口进行博客文章的后台管理
2. 以 [vercel.app](https://vercel.app) 作为后端部署。而且 vercel.app 还能像 GitHub Page 那样送域名,还不错
3. 前端基于 Next + antd 进行开发,目标是利用 Nextjs 服务端渲染的优点实现 SSR 同构,让我的博客既能有相当不错的客户端体验,也能进行 SEO 优化### 用了哪些库和接口
1. 前端脚手架 [next-antd-scaffold](https://github.com/luffyZh/next-antd-scaffold)
2. [GitHub Api Issues](https://docs.github.com/en/free-pro-team@latest/rest/reference/issues) 和 [GitHub Api Search](https://docs.github.com/en/free-pro-team@latest/rest/reference/search)### Usage
#### development
```shell
git clone https://github.com/luffyZh/next-antd-scafflod.git
yarn install
yarn start
```> http://localhost:3006
#### production
```shell
yarn build
yarn prod
```> http://localhost:5999
### 部署
[vercel.app](https://vercel.com/home)