blog

Blog website that shows a list of posts and empower readers to interact with them by adding comments and liking posts. Built with Ruby on Rails

MIT License

Stars
9
Committers
2

Blog

Classic blog website

Blog website that shows a list of posts and empower readers to interact with them by adding comments and liking posts.

Built With

  • Ruby on Rails
  • PostgreSQL
  • Bulma CSS

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

## Apply migration
rails db:migrate

# Load the schema
rails db:schema:load

Run

rails s

Test

# Load mock data
rails db:seed

rspec

API

Local API

Troubleshoot

Rspec failing

RAILS_ENV=test rake db:reset

Authors

👤 Usman

🤝 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

  • Microverse

License

MIT

Related Projects