Git Product home page Git Product logo

wolf's Introduction


wolf
WOLF

A smooth sea never made a skillful sailor.

IntroductionUsed TechnologiesBefore InstallingPrerequisitesHow To Use With DockerInspiration

Introduction

WOLF application provides a possible solution how to use SpringBoot(2.0.0.RELEASE) lightweight framework with Thymeleaf and STOMP WebSocket.

The home page lists all customers from the db. Swagger UI shows all endpoints of app. As you can see, there are /save-customer endpoint. If you call this URL, the saved data appears immediately on /home page thanks for the WebSocket TCP connection.

GIF

Used technologies

backend

database

frontend

devops

Before Installing

If you want to try this app without cloning, then there are AWS instance with RDS postgresql database:

Put the two tabs of your browser next to each other and in Swagger UI

  • call with some test data the /save-customer endpoint
  • see what shows the /home tab.
Note: On http://default-environment.sv3p8jifpb.us-east-2.elasticbeanstalk.com/home screen
open your inspect window (Key F12) and on the console tab you can see the Websocket communication.

Prerequisites

  • jdk
  • maven
  • postgres
  • (docker) //if you want to use this application with docker//

How To Use With Docker

# Clone this repository
$ git clone https://github.com/lombocska/wolf.git
# Use docker potgres db
$ cd wolf-web/src/main/resources
  Use 'wolverine-database' (docker image name) as a host instead of 'wolf.cqus2hamenyz.us-east-2.rds.amazonaws.com'
# Wrap application into jar from command line
$ mvn clean install
# Build images and containers
$ docker-compose up -d
# Open the home page - go localhost:8080/home

Inspiration

wolf's People

Contributors

lombocska avatar

Stargazers

 avatar

Watchers

 avatar  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.