This is a RoR mobile app created for tracking your expenses. It allows the user to:
- register and log in, so that the data is private to them.
- introduce new transactions associated with a category.
- see the money spent on each category.
- Ruby on Rails
- Bootstrap
- PostgreSQL
- Devise
- Rspec
- Capybara
To get a local copy up and running follow these simple example steps.
- Ruby runtime environment
- PostgreSQL
- Rails
If you dont have Ruby installed on your computer, you can download it from here.
If you dont have Rails installed on your computer, you can download it from here.
If you dont have PostgreSQL installed on your computer, you can download it from here.
If you have installed git you can clone the code to your machine, or download a ZIP of all the files directly.
Download the ZIP from this location, or run the following git command to clone the files to your machine:
- Once the files are on your machine, open the blog-app folder in your code editor. Run the following command in your terminal to install the required gems and run the application:
NOTE:
You may need to run the following commands in the project directory to install the required gems and run the application:
- Install gem packages with:
bundle install
npm i
- Open the config/database.yml file in the project directory and change the username and password to your PostgreSQL username and password. Edit the default section of the file to look like this:
default: &default
adapter: postgresql
encoding: unicode
# For details on connection pooling, see Rails configuration guide
# http://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
username: <your PostgreSQL role username>
password: <your PostgreSQL role password>
- Create the database with:
rails db:create
- Start the development server
foreman start -f Procfile.dev
- Open the app in your browser at http://localhost:3000
👤 Dorian Urem
- GitHub: @dodoburner
- Twitter: @DorianUrem
- LinkedIn: Dorian Urem
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!