An API to help Granblue Fantasy players create and share teams and strategies.
* Small Rails 7 configuration changes (#72) * Remove log call * Show EMP skills for Row 5 classes Row 4 EMP skills were not showing up, so you couldn't set Rage IV on Viking, for example * Allow adding EMP skills from prior rows to team We let you search but didn't fix the server-side validation check for skills * Add `granblue_id` column to WeaponKeys table This should have a `NOT NULL` constraint, but due to existing data it is nullable until we can update all environments with values. * Add granblue_id to WeaponKeyBlueprint * Rename ml to master level * Add Ultimate Mastery * Migrate database * Migrate database |
||
|---|---|---|
| app | ||
| bin | ||
| config | ||
| db | ||
| lib | ||
| log | ||
| public | ||
| spec | ||
| storage | ||
| test | ||
| tmp | ||
| vendor | ||
| .gitignore | ||
| .ruby-gemset | ||
| .ruby-version | ||
| .solargraph.yml | ||
| config.ru | ||
| Gemfile | ||
| Gemfile.lock | ||
| Rakefile | ||
| README.md | ||
hensei-api
hensei-api is the backend for granblue.team, an app for saving and sharing teams for Granblue Fantasy.
Please note that these instructions are a work-in-progress!
Installing Ruby
You'll need to install ruby-3.0.0. We recommend using RVM and creating a gemset to manage your Ruby installation. Before proceeding, install the GPG keys from the official RVM website.
\curl -sSL https://get.rvm.io | bash -s stable
rvm install ruby-3.0.0
rvm use 3.0.0@granblue --create
Installing dependencies
After cloning the repo, install the project dependencies with:
bundle install
Creating the database
Once the dependencies have been installed, you'll need to create and seed the database. Seed data is provided but may not be up-to-date!
rails db:create
rails db:migrate
rails db:seed
Running the server
Then, you can start the server with:
rails server