Giter Club home page Giter Club logo

danvega-spring-graphql's Introduction

Spring Books - Hello GraphQL

This is a demo project that will introduce you to [https://spring.io/projects/spring-graphql](Spring for GraphQL). The Spring Boot application uses Spring for GraphQL and creates a single endpoint at /graphql for all GraphQL queries. If you want to test out the application you can use the GraphiQL UI located at http://localhost:8080/graphiql

If you want to learn more you can check out my Intro to Spring for GraphQL article + video over on my blog:

TODO: Add Blog Post Here

Development

  • Run the Spring Boot application which will run on port 8080
  • Run the Vue application (/src/frontend) with the command npm run dev and it will start up on port 3000

Packaging

When you run mvn clean package command the frontend Vue application will be built into the /dist directory. The Maven plugin maven-resources-plugin will copy the contents of the build directory into /target/static/classes. Once the artifact has been created you can run the application using the following command:

java -jar target/spring-books-0.0.1-SNAPSHOT.jar

danvega-spring-graphql's People

Contributors

danvega avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.