An open API service indexing awesome lists of open source software.

https://github.com/codecaiine/rails-blog

A fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts. Currently being worked on.
https://github.com/codecaiine/rails-blog

postgresql rails rspec-rails ruby

Last synced: 3 months ago
JSON representation

A fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts. Currently being worked on.

Awesome Lists containing this project

README

        

# Blog App

The Blog app is a classic example of a blog website. It's a functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

## Built With
- Ruby
- Ruby on Rails
- Rubocop

## Getting Started
Follow these steps below :

### Setup
```git clone https://github.com/codecaiine/rails-blog```

```cd rails-blog```

### Prerequisites

Ruby Rails PostgresSQL

Install gems with:

bundle install

Setup database with:

rails db:create
rails db:migrate

Start server with:

rails server

Open http://localhost:3000/ in your browser.
Run tests

Install npm with:

npm i

Install rspec with:

bundle install

and

rails generate rspec:install

run the test with:

rspec spec

### Test

- Run ```gem install rspec``` to install Rspec,

- Run ```rspec spec``` to run all the test cases, and

- Run ```rspec spec/name_of_test_file.rb``` to run test cases individually.

## Authors

👤 **Yannick-Noel AKA**

- Location: Côte d'Ivoire
- GitHub: [@codecaiine](https://github.com/codecaiine)
- Twitter: [@yannicknaka](https://twitter.com/yannicknaka)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/yannick-no%C3%ABl-aka/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/codecaiine/rails-blog/issues).

## Show your support

Give a ⭐️ if you like this project!