serverless-prisma:AWS Serverless Prisma样板

时间:2021-01-29 17:08:48
【文件属性】:
文件名称:serverless-prisma:AWS Serverless Prisma样板
文件大小:202KB
文件格式:ZIP
更新时间:2021-01-29 17:08:48
graphql aws boilerplate babel typescript 无服务器棱镜 [已存档] -新项目应考虑使用 最小的无服务器+ Prisma项目模板 入门 确保在您的计算机上安装了Docker和Make 。 Docker用于维护一致的开发/部署环境; Make用于缩短常用的Docker命令。 为本地计算机创建一个.env文件(有关配置要求,请参见~/.env.example ) 创建用于部署的环境配置,即.env.dev , .env.prod ,也可以在您的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
【文件预览】:
serverless-prisma-master
----.gitignore(893B)
----.babelrc(507B)
----Dockerfile(425B)
----.env.example(360B)
----package.json(2KB)
----tslint.json(391B)
----Makefile(1KB)
----serverless.yml(2KB)
----src()
--------generated()
--------resolvers()
--------schema()
--------playground.ts(129B)
--------graphql.ts(770B)
----webpack.config.js(1KB)
----.travis.yml(286B)
----tsconfig.json(392B)
----.graphqlconfig.yml(376B)
----README.md(1KB)
----config()
--------webpack()
----database()
--------prisma.yml(927B)
--------seed.graphql(610B)
--------datamodel.graphql(288B)
----typings()
--------typings.d.ts(152B)
----.gitattributes(17B)
----yarn.lock(476KB)

网友评论