GithubHelp home page GithubHelp logo

adeshrd / beer-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.53 MB

A simple beer app that randomly displays beers to the user

License: MIT License

Java 74.84% TypeScript 17.75% CSS 1.53% HTML 2.42% JavaScript 3.46%

beer-app's Introduction

beer-app

A simple beer app that randomly displays beers to the user


Demo

screendemo.gif

How to run app

  1. ./gradlew build
  2. java -jar build/libs/beer.jar

How to run tests

  1. ./gradlew test

Information

  • Shows beer data along with images using base64 encoding
  • Passes current beer name so always a new random beer is fetched
  • Two ways to fetch random beer defined in BeerService.java
  • Unit tests and integration tests written in src/test

Notes

  • The images used in this app are base64 encoded and saved in the database. Ideally they should be stored in a object storage like S3 and served over CDN
  • The project uses lombok so you will need annotation processing enabled in your IDE
  • The project currently runs on a in memory H2 database. You can easily switch to a MySQL database by uncommenting the corresponding properties in application.properties

beer-app's People

Contributors

adeshrd avatar

Watchers

 avatar

beer-app's Issues

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.