Super Budget App is an application where you can track all the transactions you have done, You must create an account in order to use the app
- Ruby on Rails
- PostgreSQL
- devise / devise-jwt - for authentication
- cancancan - for authorization
To get a local copy up and running follow these simple steps:
- Ruby ruby-3.1.2 installed
- PostgreSQL dbms running
-
Open your terminal and navigate to the folder you would like to save the project.
-
Type these commands into the terminal:
git clone https://github.com/AxelSoler/super-budget-app.git
cd super-budget-app
bundle install
- You will need a
.env
file before you install and run the project. The.env
file contains environment variables needed to deploy the webpage. There is a commented.env.example
file you can use as a guide to configure your own. Type the following commands into the terminal (or Git Bash, if using Windows) to create your.env
file:
cp .env.example .env
rails secret
-
Edit file .env
- Provide the values for the variables
- DATABASE_HOST
- DATABASE_USER
- DATABASE_PASSWORD
- DEVISE_JWT_SECRET_KEY
- Assign the value returned by the
rails secret
to DEVISE_JWT_SECRET_KEY.
- Provide the values for the variables
-
Type this commands into the terminal:
rails db:reset
- Type this command into the terminal:
rails server
- Open your web browser at http://127.0.0.1:3000/
- Type this command into the terminal:
rspec
👤 Axel Soler
- GitHub: @AxelSoler
- LinkedIn: Axel Soler
- Twitter: Axel Soler
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse for the motivation.
Original design idea by Gregoire Vella on Behance. This project is MIT licensed.