Git Product home page Git Product logo

brunobernardino / budgetzen-web Goto Github PK

View Code? Open in Web Editor NEW
83.0 6.0 11.0 1.38 MB

Simple, Encrypted Budgets & Expenses. 💵

Home Page: https://app.budgetzen.net

License: GNU Affero General Public License v3.0

JavaScript 1.31% Makefile 0.32% TypeScript 87.61% CSS 5.77% Dockerfile 0.16% PLpgSQL 3.12% SCSS 1.71%
budget-management budgets end-to-end-encryption e2ee deno expense-tracker expenses expenses-manager pwa typescript

budgetzen-web's People

Contributors

brunobernardino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

budgetzen-web's Issues

self-hosted deployment with nginx

Hi!

This looks great, I just can't get it to run..

I do a make start, which launches deno and that works.

Then a simple reverse proxy in nginx:

proxy_pass $upstream;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;

Leads to a bunch of mimetype browser console errors like:

The resource from “https://budget.example.com/public/scss/style.scss” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

Happens for css, scss, ts, and js.

Fixing that by doing

location ~ \.css {
        add_header  Content-Type    text/css;
    }
    location ~ \.js {
        add_header  Content-Type    application/javascript;
    }
    location ~ \.scss {
        add_header  Content-Type    text/css;
    }
    location ~ \.ts {
        add_header  Content-Type    application/javascript;
    }

Gets rid of those errors, leaving only:

Uncaught SyntaxError: unexpected token: 'as' index.ts:26:58 for /public/ts/index.ts.

AFAIK typescript shouldn't be sent to a browser, so I'm not sure why that file is requested.

Also.. the deployment instructions in the README file could use some elaboration. I feel like I'm missing a lot of info, and I'd love to use your product.

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.