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.
- Host: GitHub
- URL: https://github.com/codecaiine/rails-blog
- Owner: codecaiine
- Created: 2021-12-13T12:09:01.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2022-01-24T23:27:41.000Z (over 3 years ago)
- Last Synced: 2025-02-02T13:48:19.052Z (4 months ago)
- Topics: postgresql, rails, rspec-rails, ruby
- Language: Ruby
- Homepage:
- Size: 1.13 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 installSetup database with:
rails db:create
rails db:migrateStart server with:
rails server
Open http://localhost:3000/ in your browser.
Run testsInstall 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!