在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Project-Books/books-api开源软件地址(OpenSource Url):https://github.com/Project-Books/books-api开源编程语言(OpenSource Language):Java 99.0%开源软件介绍(OpenSource Introduction):GraphQL books API made using Spring Boot and DGS. This is a sibling project of the Book Project. Prerequisites
Recommended IntelliJ plugins: Enable BuildkitAs this Dockerfile caches the projects maven dependencies, please ensure docker buildkit is supported (Docker v18.09+) and is enabled. Use the following command to see if the environment variable is set. echo $DOCKER_BUILDKIT If the result returns a blank string or an 0 please use the following command to set it: export DOCKER_BUILDKIT=1 Running the app locallyWith Docker
In your IDETo run the backend in your IDE, follow the instructions on what to comment out and uncomment in the application.properties file. You will still need to build and run the backend container:
Windows: error code 127If you are using Powershell on Windows and are getting error code 127, you will need to update the line endings in the start.sh script. Run the command below in Powershell and then re-run the Docker commands in the running the app section.
Access databaseTo access the PostgreSQL database when docker-compose/Docker desktop is running, use the follow credentials in your favourite client:
For example, in IntelliJ ultimate or DataGrip: ContributingIf you wish to contribute (thanks!), please first see the contributing document.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论