GithubHelp home page GithubHelp logo

adora-tech / graphql-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pictet-technologies-open-source/graphql-demo

0.0 1.0 0.0 324 KB

License: GNU General Public License v3.0

Java 62.98% TypeScript 35.29% HTML 1.42% SCSS 0.31%

graphql-demo's Introduction

CircleCI CodeFactor

Medium

Learn how to develop efficient and simplified applications using GraphQL

This project builds a Travel agency web application with Spring Boot, GraphQL, Angular and RDBMS. It helps clients to manage operations related to flight bookings for trips. It also compares the REST implementation of the CRUD operations with that of GraphQL.

Project structure

Folder Description
graphql-app Spring boot application (back end)
graphql-ui Angular application (front end)

Local environment

Build the application

In order to build the application you need to have the following software installed:

  • open JDK or oracle JDK >= 8
  • npm

Connect to H2

  • Driver Class: org.h2.Driver
  • JDBC URL: jdbc:h2:mem:TRAVEL_AGENCY;TRACE_LEVEL_SYSTEM_OUT=1;MODE=ORACLE;DB_CLOSE_DELAY=11;
  • User Name: admin
  • Password:

After clicking on the 'Connect' button, you should be able to execute SQL queries on the database.

Start the application

Start the back end:

$ mvn clean install
$ mvn spring-boot:run

Start the front end:

$ ng serve

Once the application starts, you can access it using the following links :

Name Link
UI http://localhost:4200
GraphQL Playground http://localhost:8083/playground
H2 console http://localhost:8083/h2-console

graphql-demo's People

Contributors

alexandre-jacquot-ptl avatar siri47 avatar

Watchers

 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.