# awesome **Repository Path**: devsapp/awesome ## Basic Information - **Project Name**: awesome - **Description**: 🛰️ 应用合集 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-21 - **Last Updated**: 2023-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![](https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1638187918372_20211129121158776024.png)

中文 | English

----- ***更多应用案例,可以参考 Serverless Regsitry:[http://www.devsapp.cn](http://www.devsapp.cn)*** ----- > 本仓库是Serverless Devs阿里云系列的Awesome,在这里可以查看到关于阿里云相关组件的大部分内容。除了下面正文中的详细信息,您还可能需要关注: > 1. [Serverless Devs与CICD的结合](https://github.com/Serverless-Devs/Serverless-Devs/blob/master/docs/zh/cicd.md) > 2. [函数计算组件文档](https://github.com/devsapp/fc) 与 [函数计算快速入门文档](https://github.com/devsapp/start-fc) > 3. [Serverless 应用引擎(SAE)文档](https://github.com/devsapp/sae) 与 [Serverless 应用引擎(SAE)快速入门文档](https://github.com/devsapp/start-sae) > 更多关于案例和内容,可以参考以下目录。 - [Hello World](#hello-world) - [Web Framework应用案例](#web-framework应用案例) - [静态网站应用案例](#静态网站应用案例) - [场景合集](#场景合集) - [AI场景](#ai场景) - [音视频处理案例](#音视频处理案例) - [Serverless架构下数据库使用](#serverless架构下数据库使用) - [其他](#其他) - [活动场景](#活动场景) ## Hello World
HTTP函数 Event函数 Custom Runtime Custom Container
fc-http-node.js6
fc-http-node.js8
fc-http-node.js10
fc-http-node.js12
fc-http-node.js14
fc-http-php7.2
fc-http-python2.7
fc-http-python3.6
fc-http-java8
fc-http-golang
fc-event-node.js6
fc-event-node.js8
fc-event-node.js10
fc-event-node.js12
fc-event-node.js14
fc-event-php7.2
fc-event-python2.7
fc-event-python3.6
fc-event-java8
fc-event-golang
Golang Event函数
Golang Websocket函数
Nodejs10 Event函数
Nodejs10 Websocket函数
Nodejs12 Event函数
Nodejs12 Websocket函数
PHP74-Swoole Event函数
PHP74-Swoole HTTP函数
Python37 Event函数
Python37 HTTP函数
Python37 Websocket函数
C++ Event函数
C++ HTTP函数
Java8-SpringBoot
Ruby example
Powershell example
F# example
TypeScript example
Lua example
Dart example
Rust example
C++ Event函数
Node.js 14 Event函数
Python3.9 Event函数
C++ HTTP函数
Springboot HTTP函数
ASP.Net Core HTTP函数
Golang Websocket函数
Node.js14 Websocket函数
Python3.9 Websocket函数
## Web Framework应用案例 将一个传统框架部署到阿里云Serverless平台的方法有很多,可以选择Custom、Custom Container以及原生编程语言的运行时。这其中Custom和原生语言运行时方案,除了启动命令/入口函数不同之外,区别并不是很大,可以根据自己需求进行实现,Custom Container方案相对来说更简单,但是镜像的冷启动速度相对Custom和原生语言运行时比较慢。 目前函数计算仓库收录以下常见框架的部署案例:
No. :fire:Nodejs Python PHP Go Java Others
1 :fire:Express [custom] :fire::fire:Flask [python3] Think PHP [custom] BeeGo Tomcat/Jetty Gatsby
2 Egg [custom] Tornado [custom] laravel [custom] Gin [custom] SpringBoot [custom] Hugo [custom]
3 Nextjs [custom] Bottle [python3] Discuz [custom]Quarkus
4 Nuxtjs [custom] Web.py [python3] :fire::fire::fire: WordPress [custom]
5 :fire::fire::fire: Hapi [custom] Django [python3] :fire::fire::fire: Zblog [custom]
6 Koa [custom] FastAPI [custom] Ecshop [custom]
7 Nest [custom] Web2py Metinfo [custom]
8 Midway-koa [custom] Pyramid [python3] Whatsns [custom]
9 Serverless-Baota [custom] Typecho [custom]
9 Kodbox [custom]
> 除了上面的案例之外,还提供了两个简单的实践应用: > - [基于Express框架的todoList应用](https://github.com/devsapp/start-web-framework/blob/master/example/todolist-app/src):`s init todolist-app` > - [基于Django框架的博客应用](https://github.com/devsapp/start-web-framework/blob/master/example/django-blog/src):`s init django-blog` > SSR 框架: > - [nuxt-ssr](https://github.com/devsapp/start-web-framework/tree/master/web-framework/nodejs/nuxt-ssr/src): `s init start-nuxt-ssr` ## 静态网站应用案例 - 静态网站案例: - [hexo应用](https://github.com/devsapp/start-website/tree/master/hexo/src) `s init website-hexo` - [docusaurus应用](https://github.com/devsapp/start-website/tree/master/docusaurus/src) `s init website-docusaurus` - [vuepress应用](https://github.com/devsapp/start-website/tree/master/vuepress/src) `s init website-vuepress` > 当然,上面所列举的静态网站案例都是build之后部署到对象存储等,您也可以直接部署到函数计算(尽管这并不是一个值得推荐的做法),您可以参考[start-static-site文档](https://github.com/devsapp/start-static-site) , 也可以尝试执行命令`s init start-static-site`进行初始化 ## 场景合集 ### AI场景 - [PyTorch案例](https://github.com/devsapp/start-ai/tree/master/start-pytorch/src) `s init start-pytorch` - [Tensorflow案例](https://github.com/devsapp/start-ai/tree/master/start-tensorflow/src) `s init start-tensorflow` - [OCR案例](https://github.com/devsapp/start-ai/tree/master/start-ocr/src) `s init start-ocr` - [目标检测案例](https://github.com/devsapp/start-ai/tree/master/image-prediction-app/src) `s init image-prediction-app` ### 音视频处理案例 - [弹性高可用的高度自定义音视频处理](https://github.com/devsapp/start-ffmpeg/tree/master/ffmpeg-app/src): `s init ffmpeg-app` - [对直播视频流截图的应用](https://github.com/devsapp/start-ffmpeg/tree/master/rtmp-snapshot/src): `s init rtmp-snapshot` - [一个对浏览器全景录制](https://github.com/devsapp/start-ffmpeg/tree/master/headless-ffmpeg/src): `s init headless-ffmpeg` ### Serverless架构下数据库使用 - python案例 - [mysql案例](https://github.com/devsapp/start-fc-db/tree/main/python/mysql/src): `s init start-fc-mysql-python` - [redis案例](https://github.com/devsapp/start-fc-db/tree/main/python/redis/src): `s init start-fc-redis-python` - [mongodb案例](https://github.com/devsapp/start-fc-db/tree/main/python/mongodb/src): `s init start-fc-mongodb-python` - [sql-server案例](https://github.com/devsapp/start-fc-db/tree/main/python/sql_server/src): `s init start-fc-sql-server-python` - [postgresql案例](https://github.com/devsapp/start-fc-db/tree/main/python/postgresql/src): `s init start-fc-postgresql-python` - [Lindorm案例](https://github.com/devsapp/start-fc-db/tree/main/python/lindorm/src): `s init start-fc-lindorm-python` ### 其他 - 基于 puppeteer 的截图 Web 应用: - [基于Node.js的案例](https://github.com/devsapp/start-puppeteer/tree/master/puppeteer-nodejs/src): `s init puppeteer-nodejs` - [基于Container的案例](https://github.com/devsapp/start-puppeteer/tree/master/puppeteer-container/src): `s init puppeteer-container` - [word转pdf的应用](https://github.com/devsapp/start-word2pdf): `s init start-word2pdf` - [pdf转图片的应用](https://github.com/devsapp/start-pdf2img): `s init start-pdf2img` - [电商后端管理系统](https://github.com/devsapp/start-fc-mall-admin): `s init start-fc-mall-admin` - [现代应用解决方案](https://github.com/devsapp/modern-web-application): `s init modern-web-application` #### 活动场景 > 这一部分记录的是一些活动的小案例,仅供学习使用 - [基于函数计算的红白机游戏](https://github.com/devsapp/fc-nes-game): `s init fc-nes-game` - [基于函数计算的盲盒游戏](https://github.com/devsapp/blindbox-game): `s init blindbox-game` - [创意活动Jamsatck站点](https://github.com/devsapp/start-jamstack-activities): `s init start-jamstack-activities` - [Serverless架构的弹幕应用](https://github.com/devsapp/start-barrage): `s init start-barrage`