Skip to content
/ blog Public

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

License

Notifications You must be signed in to change notification settings

usmansbk/blog

Repository files navigation

Blog

Microverse

Classic blog website

screenshot

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published