/blogApp

A fully functional blog website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

Primary LanguageRubyMIT LicenseMIT

Blog App

Microverse app

Blog App

Blog website that shows a list of posts and empower readers to interact with them by adding comments and liking posts. This project is part of Microverse's 2.0 curriculum, following the guidelines of Microverse🔗 for best practices.

🤍 Built With


  • 🤍Ruby
  • 🤍Ruby on Rails
  • 🤍PostgreSQL

🤍Getting Started

To get a local copy up and running follow these simple example steps.

🤍Prerequisites

🤍Setup

  • Make sure you have Ruby on Rails set up properly on your computer
  • Clone or download this repo on your machine
  • Enter project directory

🤍Install

bundle install

🤍Database

# Create user
sudo -u postgres createuser blog -s

# Create the database
rake db:create

# Load the schema
rails db:schema:load

# Seed
rails db:seed

## Apply migration (only if you generate a new migration file)
rails db:migrate

🤍Run

rails s

🤍Test

rspec

🤍Troubleshoot

Rspec failing

RAILS_ENV=test rake db:reset

🤍 Author:


👤 Sheyla Pozo 🤍


🤝 Contributing:

Contributions, issues, and feature requests are welcome! 🤍

Feel free to check the issues page.

🤍 Show your support:

Give a ⭐️ if you like this project!

🤍 Acknowledgments:

Hat tip to anyone whose code was used:

  • Microverse's guidelines
  • Inspiration

📝 License 🤍:

This project is MIT licensed.