Giter Site home page Giter Site logo

fakturama's Introduction

Fakturama build

Fakturama to prosta aplikacja do fakturowania, napisana w całości w języku JavaScript, z wykorzystaniem frameworka Ember. Dane składowane są w bazie danych Firebase, kursy walut ściąganę są za pośrednictwem YQL z serwerów Narodowego Banku Polskiego. Ogólnodostępna wersja aplikacji znajduje się pod adresem https://fakturama.pl/, ale nic nie stoi na przeszkodzie, aby uruchomić własną.

Uruchamianie środowiska programistycznego

Aby uruchomić aplikację lokalnie, musisz posiadać node.js (wersja w okolicy 8.9.0) i yarn (okolice 1.3.2). Wszelkie zależności aplikacji instalowane są po wywołaniu yarn install. Aby uruchomić lokalną wersję serwera w środowisku development, należy uruchomić polecenie ember server i otworzyć w przeglądarce adres http://localhost:8000/.

Budowanie wersji produkcyjnej

Do budowania wersji produkcyjnej aplikacji służy polecenie ember build --environment production. Po wykonaniu polecenia w katalogu dist powinno znajdować się kilka plików, wśród których najważniejsze to:

  • index.html - strona startowa
  • assets/fakturama.xxxxxxxx.css - arkusz styli
  • assets/fakturama.xxxxxxxx.js - kod źródłowy aplikacji
  • assets/vendor.xxxxxxxx.js - kod źródłowy zależności (zewnętrznych bibliotek)
  • assets/vendor.xxxxxxxx.css - arkusz styli zależności

Publikowanie

Ogólnodostępna wersja hostowana jest przy pomocy Firebase Hosting i Cloudflare. Do publikowania aplikacji służy polecenie ember build --environment production && firebase use production && firebase deploy.

Licencja

Autorem Fakturamy jest Kuba Kuźma. Kod aplikacji udostępniany jest na zasadach licencji MIT.

fakturama's People

Contributors

qoobaa avatar szimek 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

Watchers

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

fakturama's Issues

GDPR compliance

@qoobaa any experience with that?

I believe we need to modify a few things here and there (i.e. additional info on the page, explicit confirmation, etc.) to make the app compliant with new regulations.

Current serializer adds another unnecessary root element

So the current DB schema has been changed. The settings object was previously stored under:

:user_id/settings/default

now it seems to be stored in:

:user_id/settings/default/settings

It'd be a good idea to keep the old schema if possible. I experimented with the DS.RestSerializer, but I haven't managed to fix it yet. Do you have any idea how to solve this issue, @lowski?

Adding comments doesn't work

First of all I wanted to thank you for all the work you've put in Fakturama. It's great and keeps my invoicing tidy.

I spotted an issue that none of my comments are not displayed on the preview/edit view. I peeked and they present in the response from firebase, but they are just not displayed.

Copy invoice

Any chance to add functionality of copying invoice ?

Yahoo query api does not work any more

On January 2019, Yahoo shut downed query api so fetching currency rates does not work any more. @qoobaa any idea what can we use instead? I think even simple field where user can manually type the conversion rate would work. WDYT?

Problem with fetching records

@qoobaa pointed out in #6 :

It seems to work a bit better now, at least for storing records. Fetches are mostly broken. I've added you to the collaborators list, so you can push to the repo if you need to.

Fetching exchange rates doesn't work

image

The "exchange rate table publication date" shouldn't be editable (it should be filled automatically). Even if I fill the date, it doesn't convert currencies properly, displaying NaNs.

Malformed records are added to the store, works after reload

I hope it's the last issue I've found. After editing an invoice, a malformed record is saved in the store - lots of NaNs, missing fields, etc. It works fine after refreshing the page, which suggests that the DS adapter may still don't work correctly.

Needs to output an JPK_FA XML or CSV

I got an email from my accountant a few days ago, they asked me about providing them with JPK_FA files for future invoices. It seems to be an important thing to add, if we want to keep using Fakturama for invoicing.

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.