A web frontend for Twigs
Find a file
dependabot[bot] 7a58779e6d
Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 11:21:17 +00:00
.devcontainer Add devcontainer 2022-11-08 04:34:21 +00:00
.github/workflows Fix GH Pages deploy workflow 2024-03-03 10:08:37 -07:00
.vscode delete vscode settings file 2022-07-01 18:15:10 -06:00
e2e Update dependencies 2020-06-30 15:13:46 +00:00
src Update to Angular 17 2024-03-03 10:42:59 -07:00
.editorconfig initial commit 2018-08-27 12:04:01 -05:00
.firebaserc Add firebase deployment workflow 2021-11-24 16:26:28 -07:00
.gitignore Update Angular to 13 2021-11-19 17:15:22 -07:00
angular.json Update to Angular 17 2024-03-03 10:42:59 -07:00
captain-definition Add vscode settings for code server 2020-06-30 04:06:44 +00:00
Dockerfile Use node:lts for docker images 2021-11-17 18:00:03 -07:00
firebase.json Add firebase deployment workflow 2021-11-24 16:26:28 -07:00
LICENSE Update README and add LICENSE 2021-02-27 06:51:13 -07:00
ngsw-config.json Enable offline usage 2018-08-31 17:56:09 -05:00
package-lock.json Bump braces from 3.0.2 to 3.0.3 2024-06-17 11:21:17 +00:00
package.json Update to Angular Material 17 2024-03-03 10:46:16 -07:00
README.md Update README.md 2024-04-07 10:38:14 -06:00
tasks.json Add tasks.json 2020-06-30 04:17:15 +00:00
tsconfig.base.json Update ng2-currency-mask 2021-06-11 11:12:09 -06:00
tsconfig.json Update dependencies 2020-06-30 15:13:46 +00:00
tslint.json Update dependencies 2020-06-30 15:13:46 +00:00

Twigs Web Client

IMPORTANT: This repository is no longer maintained. The web version of Twigs has been replaced with a server-rendered implementation in the backend repository

Twigs is an open source budgeting app aimed at people who need to share a budget. This project serves as the web front end, and is powered by Angular. The main back end project can be found at wbrawner/twigs-server

Building

You'll need NodeJS and NPM, then run

npm run build

If you would like to tinker with the site and have it hot reload, then run

npm run start

The app will be available at http://localhost:4200

Self-hosting

Eventually the plan is to ship this web app within the JAR for the server, but for now you'll need to run them separately. Before you build the app, be sure to change the apiUrl value in src/environments/environment.prod.ts. Then you can run the following command to get an optimized version of the build for production deployments

npm run package

This will output the app in a folder called dist/twigs, which you can then serve directly with Apache or Nginx or any static file server.

License

Copyright (c) 2021 William Brawner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.