[Archived] — New projects should consider using Prisma2
Minimal Serverless + Prisma Project Template
Be sure to have Docker
and Make
installed on your machine. Docker
is used for maintaining a consistent development/deployment environment; Make
is used to shorten frequently used Docker
commands.
Create an .env
file for your local machine (refer to ~/.env.example
for the configuration requirements)
Create Environment configurations for deployments, ie. .env.dev
, .env.prod
, alternatively this can be configured in your CI/CD.
# Create a Node Development Docker Container
make devbox
# Install Node Dependencies using the DevBox Container
make install
# Start Serverless in Offline Mode
make start
# Package Service for Deployment
make build
# Deploy to a specific Environment
ENV=dev make deploy # uses the configuration from `.env.dev`
ENV=prod make deploy # uses the configuration from `.env.prod`
The complete command list can be viewed in the ~/Makefile
react+apollo+prisma入门demo搭建—1、Frontend入门 根据HOW TO GRAPHQL官网的例子,做了些对最新版的改动,适合最新框架的学习。 本系列文章注重前端方面的开发,对于node方面的放在下一个系列。在此过程中有任何问题,都欢迎在评论中提问,会及时反馈 系列目录: 第一章. Frontend开始 第二章. Queries组件编写(Loading Links) 第三
云原生应用开发 回顾过去二十年,应用开发有以下几个显著的特点: 以应用服务器为中心,典型应用服务器包括 tomcat,JBoss,WebLogic,WebSphere,应用服务器提供了丰富的技术堆栈和系统构建范式,对应用开发人员友好 JavaEE/Spring,JavaEE/Spring 是应用开发的基本技能,这项技能有广泛的开发者基础,过去二十年中 JavaEE/Spring 的技术发展/版本的
The Serverless Framework (无服务器架构)允许你自动扩展、按执行付费、将事件驱动的功能部署到任何云。 目前支持 AWS Lambda、Apache OpenWhisk、Microsoft Azure,并且正在扩展以支持其他云提供商。 Serverless 降低了维护应用程序的总成本,能够更快地构建更多逻辑。它是一个命令行工具,提供脚手架、工作流自动化和开发部署无服务器架构的最佳实践。它也可以通过插件完全扩展。
Serverless Webpack A Serverless v1.x & v2.x plugin to build your lambda functions with Webpack. This plugin is for you if you want to use the latest Javascript version with Babel;use custom resource l
serverless-bundle serverless-bundle is a Serverless Framework plugin that optimally packages your ES6 or TypeScript Node.js Lambda functions with sensible defaults so you don't have to maintain your o
Serverless Express by Vendia Run REST APIs and other web applications using your existing Node.js application framework (Express, Koa, Hapi, Sails, etc.), on top of AWS Lambda and Amazon API Gateway.
serverless-chrome Serverless Chrome contains everything you need to get started running headlessChrome on AWS Lambda (possibly Azure and GCP Functions soon). The aim of this project is to provide the