Git Product home page Git Product logo

Comments (5)

posix4e avatar posix4e commented on August 13, 2024 1

For now let's just include instructions for how to npm out the js files for static file inclusion and call it a day.

from escrow-dashboard.

vkomodey avatar vkomodey commented on August 13, 2024

What is the reason of getting rid from docker here? It is already a pure frontend.js application which may be running without docker. The docker wrapper here is only for deployment purposes

from escrow-dashboard.

posix4e avatar posix4e commented on August 13, 2024

Let’s get rid of it in deployment, so the deployment doesn’t require docker at all. Just a tiny bit of js

from escrow-dashboard.

vkomodey avatar vkomodey commented on August 13, 2024

By getting rid of the docker we will just move the phase of starting the app in the prod to a different place: this includes webpack build, serving instructions + some tools for monitoring the state of the app(in this case it is a docker, but it might be the pm2 or any other tool which controls the state). We definitely don't want to use bare "yarn start" and control this manually on remote machines

Also, just for the notice - there is no backend(except the server which serves static files) in the dashboard

Regarding pure js. Considering all features that we are planning to add to the dashboard in the future, I won't advise moving it to the pure js, because the code will be messy and hard to read imho

cc @makarofalex3 @ivhus

from escrow-dashboard.

ivhus avatar ivhus commented on August 13, 2024

docker ≠ backend

getting rid of backend would be nice (but as @vkomodey said there is no backend particularly here)

Docker container is a portable thing which works same in ECS, EKS, OpenShift, locally, wherever in any other environment we may ever want

And with switchng to pure JS we are going to get dependent on the environment and it's confuguration consistency will become
yet another thing to maintain

from escrow-dashboard.

Related Issues (20)

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.