Skip to content

使用kotlin编写的例子,可把spring-boot代码改造为兼容阿里函数计算的架构

Notifications You must be signed in to change notification settings

xuybin/fc-graphql-example

Repository files navigation

example

Build Status

debug

./gradlew run

Serverless Cloud Function Deploy

export ACCOUNT_ID=xxxxxxxx
export DEFAULT_REGION=cn-shenzhen
export ACCESS_KEY_ID=xxxxxxxxxxxx
export ACCESS_KEY_SECRET=xxxxxxxxxx
./gradlew assemble && ./gradlew funDeploy --info

Microservice Deploy

git clone https://github.com/xuybin/fc-graphql-example.git
cd fc-graphql-example
docker-compose up

Visit

curl -H "Content-Type: application/json" -d '{"query":"{\n  version\n}\n","variables":null}' http://fc.gshbzw.com/example-service

About

使用kotlin编写的例子,可把spring-boot代码改造为兼容阿里函数计算的架构

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published