Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayoubm490/budget-app
This app is a mobile web application where a user manage his budget: have a list of transactions associated with a category, so that the user can see how much money he spent and on what.
https://github.com/ayoubm490/budget-app
bootstrap5 database ruby-on-rails
Last synced: about 7 hours ago
JSON representation
This app is a mobile web application where a user manage his budget: have a list of transactions associated with a category, so that the user can see how much money he spent and on what.
- Host: GitHub
- URL: https://github.com/ayoubm490/budget-app
- Owner: AyoubM490
- Created: 2022-08-02T07:49:35.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2022-08-05T09:23:42.000Z (over 2 years ago)
- Last Synced: 2024-12-04T18:53:21.218Z (about 2 months ago)
- Topics: bootstrap5, database, ruby-on-rails
- Language: Ruby
- Homepage: https://save-budget-app.herokuapp.com/
- Size: 5.51 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Microverse-blueviolet)
# GoSave
A mobile web application where you can manage your budget: you have a list of transactions associated with a category, so that you can see how much money you spent and on what.
## Built With
- Ruby on Rails
## Heroku
https://save-budget-app.herokuapp.com/## Video
https://www.loom.com/share/2d68f7ca3b0d4a7ba6f26c5cbaa3e9b5## Additional Tools
- rubocop
- stylelint
- Ruby Gems## `Getting Started`
To get a local copy of this project:
Clone this repository or download the Zip folder:
```
$ git clone [email protected]:AyoubMS/Budget-app.git
```
Then:
```
$ cd Budget-app$ gem install bundler
$ bundle install
```To start App:
```
$ rails server
```To view on browser:
```
http://localhost:3000
```## `Database creation`
Create a Postgres user:
```
$ su - postgres
```After that access Postgres:
```
psql
```Then create a user (or a βroleβ, as Postgres calls it):
```
CREATE ROLE budget WITH CREATEDB LOGIN PASSWORD 'budget';
```Initialize the database:
```
$ bin/rails db:setup
```Migrate the database:
```
$ bin/rails db:create
```## `Tests`
### Running specs:
Default: Run all spec files (i.e., those matching spec/**/*_spec.rb):
```
$ bundle exec rspec
```
Run all spec files in a single directory (recursively):
```
$ bundle exec rspec spec/models
```
Run a single spec file:
```
$ bundle exec rspec spec/models/user_spec.rb
```Run a single example from a spec file (by line number):
```
$ bundle exec rspec spec/models/user_spec.rb:8
```See all options for running specs:
```
$ bundle exec rspec --help
```### rails tests:
```
$ bin/rails test
```### To track linter errors locally follow these steps:
Track Ruby linter errors run:
```
$ rubocop
```
To auto-correct correctable Rubocop offenses run:
```
$ rubocop --auto-correct-all | rubocop -A
```## `Authors`
π€ **Ayoub Chahir**
- GitHub: [@AyoubMS](https://github.com/AyoubMs)
- Twitter: [@KnowledgeUserD](https://twitter.com/KnowledgeUserD)
- LinkedIn: [Ayoub Chahir](https://www.linkedin.com/in/ayoub-chahir/)## π€ Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a βοΈ if you like this project!
## Acknowledgments
- This project is part module 5 in the Microverse study program.
- Thanks to the Microverse team for the great curriculum.
- Thanks to Code Reviewers for the insightful feedback.
- A great thanks to My coding partners, morning session team, and standup team Partners for their contributions.
- Original design idea by **[Gregoire Vella on Behance](https://www.behance.net/gregoirevella)**, in association with the [Creative Commons license of the design](https://creativecommons.org/licenses/by-nc/4.0/) of the design.## π License
This project is [MIT](./MIT.md) licensed.