GithubHelp home page GithubHelp logo

boxinator's Introduction

boxinator

Example program using mysql, Spring Boot and React.

To run, make sure you have Docker installed and run docker-compose up in the project's root folder. Give it some time, especially on the first run, since images have to be downloaded and built.

Some things to note:

  • The backend service might stop and restart a few times, until the database service has started properly. 2-3 restarts is not uncommon, since the database service can take quite some time to finish starting on the first run.

  • This example application does not take account for extremely long lists of shipments. Could be fixed with pagination on both backend and frontend.

  • In a real world scenario, the database connection needs to be secured. Here I use the root user and password, which is not recommended "in real life".

  • Also note, that in the real world, database credentials should not be committed to source control.

  • I'm using Double types for weights and costs. In a production setting, it might make more sense to use a more exact representation, such as BigDecimal, but for the same of this demo, I figured Doules are ok.

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.