/Blog-app-backend

Primary LanguageRubyMIT LicenseMIT

Vilego Blog Backend

This is the Ruby on Rails API for Vilego Blog. Vilego Blog is a blog post app that helps a user create articles for other users to read and interact with.

Link to the Frontend

Table of Contents

  1. Getting Started
  2. Downloading This Project
  3. Technologies Used
  4. Contributors
  5. License

Getting Started

Install Ruby

  • Verify the current version of Ruby running using the following command:
$ ruby -v
  • We recommend version 3.0.2. If you need to upgrade you can install it using rvm:
$ rvm install 3.0.2 --default

Install Rails

  • Run the command:
$ gem install rails

Install SQLite 3

  • Install SQLite 3 using the following command:
$ sudo apt install sqlite3
  • Verify the installation using the command:
$ sqlite3 --version

Downloading This Project

  • Clone the repository and change directory into the folder using commands:
$ git clone git@github.com:Edward-ochieng/Blog-app-backend.git
$ cd Blog-app-backend
  • Install gems using command:
$ bundle install
  • Migrate and seed data by running the commands:
$ rails db:migrate
$ rails db:seed
  • Launch the rails server using command:
$ rails s

Technologies Used

Contributors

License

This project is under MIT license.