This project is an integration of api wrappers and a pre-existing blog application, where I called data from apis to use in the application. The apis can either provide fake data to create new articles or comments, or provide a random color to change the background.
Project is created with:
- Ruby 2.7.4
- Rails 6.1.5
- JSONPlaceholder (posts)
- provides fake posts
- JSONPlaceholder (comments)
- provides fake comments
- Creative Handles
- provides random color
- Clone repository
git clone https://github.com/patmln/blog_app.git
cd blog_app
- Initialize database
rails db:create
rails db:migrate
- Add gem in Gemfile and run bundle install
gem 'rest-client'
bundle install
- Deploy
rails s