MyXpenses is a RoR application about building 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. 💰💸💹🤑🪙💴
- Ruby
- PostgreSQL
- Use of Ruby on Rails framework.
- Use Ruby Gems as a software packages system
- Understand what ORM is
- Use database migration files to maintain database schema.
- Understand Rails RESTful design and router.
- Secure app from n+1 problems.
- Use validations for models.
- Set up associations between models.
- Write integration tests with capybara gem.
- Build a webapp that requires the user to log in.
- Deploy a RoR application.
Here you can see a Live Demo.
Here there is a walkthrough.
Follow these steps in order to run ruby code.
First, you need to ensure that you have Rails and Ruby installed on your computer.
It varies depending on your operating system so here are some links to help you install it on Windows and on Ubuntu.
For MacOS run the following commands
brew install rbenv ruby-build
# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
# Install Ruby
rbenv install 3.0.1
rbenv global 3.0.1
ruby -v
This example shows how to install Ruby 3.0.1 which was the latest version in April 2021, but you can check to see if there is a newer version here. Iy is also assumed that you have homebrew already installed on your Mac.
Once you have ruby installed, clone this repository
To run the project, execute the following command in the terminal:
bundle install
rails server
In your preferred browser, navigate to:
http://localhost:3000
To run tests, run the following command in the terminal:
rspec
👤 Oscar Villagran
- GitHub: @oovillagran
- Twitter: @oovillagran
- LinkedIn: Oscar Villagran
The following are the future features that will be added to the project.
- Add API endpoints.
- Add images and videos section.
- Add payment options.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project you can give us a hand by recommending either one of us to potential employers! 😉🤝
I would like to thank those who have motivated me to keep on fighting despite how tough the journey may become. I would also like to acknowledge Gregoire Vella and the Creative Commons, who are the the designers for the styles of MyXpenses app.
This project is MIT licensed.