Budget App

Budget app built with Ruby on Rails, which allows the user to manage Transactions.

Built With

  • Languages & Technologies:
    • Ruby on Rails
    • Devise
    • CanCanCan
    • Postgres
    • Docker

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Setup

Download the code from this repository, by following these two steps:

  • Click on the Code button, above the files list.
  • Click on the Donwload ZIP button to download the code.

Install

1- Install the project dependencies

1.1- Install the Ruby Bundler using this command on the root project's directory:

$ gem install bundler

1.2- Then, install all the project dependencies using this command:

$ bundle install

2- Set up the project's database

2.1- If you have Docker installed in your computer, create a Postgres image from the Dockerfile in this project using this command on the root project's directory:

$ docker build -t pg-db .

2.2- Create and run a new Docker container using the Postgres image created in the last step:

$ docker run --name rails-blog-db -p 5432:5432 -d pg-db

3- Build the project's database schema

3.1- Run the database migrations to build the project's database with the correct tables:

$ rails db:migrate

Usage

To use this application, run this command on the root project's directory:

$ rails s

Authors

👤 Guishny Desor

Acknowledgments

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.