This is a project where I will set up a Rails app to be a data-producing API… which is just a fancy way of saying that all my controller methods will render data instead of HTML. I consider this a drill in quickly building a pure vanilla RESTful resource. this will be working with an external APIs.
- Git.
- Code editor.
- Code linter.
- Rails 5.
- Browser.
-
Open the terminal.
-
Enter
https://github.com/othman-19/API_othman_kittens
. -
Navigate to the cloned repository.
-
In the terminal cd into API_othman_kittens.
-
Install bundle by typing
bundle install
and update it by typingbundle update
in the terminal. -
Run the rails server by typing
rails server
in the terminal. -
Open in browser with
localhost:3000