This is a project that uses connections to APIs (SWAPI and Akabab-StarWars) to populate the database and display Star Wars characters on a clickable list. You can also read details about the characters.
-
If you want to fork/clone the project, make sure you have PostgreSQL installed in your machine
-
You'll also need to have Ruby installed in your machine
rbenv install 2.6.6
rbenv global 2.6.6
- Install Rails 6.0.3.7
gem install rails -v 6.0
- If you don't have bundler installed, you need to install it:
gem install bundler
-
After that, run bundle on the terminal to install the gems
-
You also need to create and migrate the development database
rails db:create db:migrate
- Don't forget to seed the database, so it gets populated by the Star Wars information
rails db:seed
- You can finally check the web application
rails s
http://localhost:3000/