Skip to content

mtayllan/finb

Repository files navigation

FinB

A simple expense organizer app built with Ruby on Rails and SQLite. This app is designed for personal use, allowing users to track and manage their monthly expenses.

Features

  • Expense Tracking: Log your daily expenses and categorize them for better organization.
  • Monthly Overview: Get a summary of your monthly spending with a clear breakdown of categories.
  • Flexible Deployment: Run the app locally or deploy it on your favorite cloud platform.

Setup

Prerequisites

  • For Local Development:
    • Ruby 3.3+
    • SQLite 3
    • Bundler gem
  • For Docker Deployment:

Local Development Setup

  1. Clone the repository:
git clone https://github.com/mtayllan/finb.git
cd finb
  1. Install dependencies:
bundle install
  1. Setup the database:
bin/rails db:setup
  1. Start the development server:
bin/dev
  1. Access the application at http://localhost:3000

Docker Deployment

  1. Clone the repository:
git clone https://github.com/mtayllan/finb.git
cd finb
  1. Build the Docker image:
docker build -t finb .
  1. Run the container:
docker run \
  -d -p 9090:3000 \
  --name finb \
  -v finb-storage:/rails/storage \
  --env SECRET_KEY_BASE=$YOUR_SECRET_KEY_BASE \
  --env USE_SSL=false \
  finb

Note: Generate a random secret key base with openssl rand -hex 64 and replace $YOUR_SECRET_KEY_BASE with the generated value.

  1. Access the application at http://localhost:9090

Updating Docker Deployment

  1. Pull the latest changes:
git pull origin main
  1. Rebuild the Docker image:
docker build -t finb .
  1. Stop and remove the old container:
docker stop finb
docker rm finb
  1. Start the new container using the same docker run command from step 3 above.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Feedback

If you have any feedback, feel free to open a new Issue and we can discuss!

About

Personal finances manager

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •