graffiti

Headless Java CMS

Github星跟蹤圖

Graffiti

a sample project utilizing the Giraphe CMS Framework.

Usage

  1. Clone the repo:
git clone https://github.com/creactiviti/graffiti.git
cd graffiti
  1. Setup database:
docker run --name postgres -e POSTGRES_DB=giraphe -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -d -p 5432:5432 postgres:9.6.5-alpine
  1. Run it:
mvn clean spring-boot:run
  1. From another terminal window, run a query:
curl -s -X POST -H "Content-Type:application/json" -d '{"query":"{ getAllMovies { id title directors { name } } }"}' http://localhost:8080/graphql
  1. Optional: Interact with the API through GraphiQL:
docker run --name=graphiql -p 9100:8080 -d -e GRAPHQL_SERVER=http://<YOUR_IP_GOES_HERE>:8080/graphql creactiviti/graphiql

And the go to http://localhost:9100

How do I use it for my own project?

Check the giraphe tutorial.

License

This project is released under version 2.0 of the Apache License.

主要指標

概覽
名稱與所有者runabol/graffiti
主編程語言Java
編程語言Shell (語言數: 3)
平台
許可證Apache License 2.0
所有者活动
創建於2017-12-16 15:38:03
推送於2017-12-17 18:02:38
最后一次提交2017-12-17 13:02:36
發布數0
用户参与
星數59
關注者數11
派生數7
提交數56
已啟用問題?
問題數1
打開的問題數0
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?