Java project using GraphQL to consume data
315
An API developed using Spring Boot and GraphQL. It was developed for study purposes in GraphQL, a data query language. The project also used numerous Spring Boot and Java tools, and the H2 memory bank for ease of running the project, SOLID was also applied.
Clone the repository or download the source code
git clone https://github.com/WeversonL/graphql-api.git
cd graphql-api
Start with docker-compose
docker-compose up -d
Access the GraphQL command tab in your browser
http://localhost:8080/graphiql
Docker run
docker run -p 8080:8080 --name gql-project weversonlemos/graphql-project:latest
Access the GraphQL command tab in your browser
http://localhost:8080/graphiql
Clone the repository or download the source code
git clone https://github.com/WeversonL/graphql-api.git
cd graphql-api
Download dependencies
mvn clean install
Run application
mvn spring-boot:run
At the moment, the GraphQL Playground is not implemented, so to know what operations are performed, consult the file:
src/main/resources/graphql/schema.graphqls
To terminate the containers, you can run
docker-compose down
You can directly access the in-memory database by following the url below
http://localhost:8080/h2-console
⚠️ Still in development
graphql-api is released under the GNU General Public License, Version 2
Copyright (C) 2022 Weverson Lemos
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version
Content type
Image
Digest
sha256:93597cb69…
Size
281 MB
Last updated
about 3 years ago
docker pull weversonlemos/graphql-project