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

https://github.com/mandelatuks/blog-app

this is blog app that show a list of posts and empower readers to interact with them by adding and liking posts
https://github.com/mandelatuks/blog-app

postgresql rubocop ruby ruby-on-rails

Last synced: 3 months ago
JSON representation

this is blog app that show a list of posts and empower readers to interact with them by adding and liking posts

Awesome Lists containing this project

README

          

![](https://img.shields.io/badge/Microverse-blueviolet)

# Blog app

This README documents steps necessary to get the application up and running.

* Ruby version
- 2.7.4
* PSQL version
- PostgreSQL 14.0

* System dependencies
- See [Dependencies](./Gemfile) gem file

* Configuration
- Install ruby - [Installation guides](https://www.ruby-lang.org/en/documentation/installation/)
- install PostgreSQL - [Installation guides](https://www.postgresql.org/download/linux/)
- install libpqdev ``` sudo apt install libpq-dev ``` for linux debian users
- Make sure your Postgresql is running. If not, start the service by typing ```sudo service postgresql start``` in your terminal (for linux debian users)

* Installation
- ```git clone``` this [repo](https://github.com/mandelatuks/blog-app)
- Run:
- ```cd blog-app```
- ```bundle install```

* Database creation
- Run
- ```rake db:create```

* Tests
- Run (*ensure your postgreSQL is running as well*)
- Integrations
- **Method 1:** ```bundle exec rspec test/integration/ ```
> if fails, try
- **Method 2:** ```rspec test/integration/```

* Run project
- ```rails db:migrate:reset db:seed``` then
- Run ```rails s``` and visit [http://localhost:3000/](http://localhost:3000/) in your browser!

## Authors

👤 **Mandela Tumukunde**

- GitHub: [@mandelatuks](https://github.com/mandelatuks)
- Twitter: [@MandelaTm1](https://twitter.com/MandelaTm1)
- LinkedIn: [@Mandela Tumukunde](https://www.linkedin.com/in/mandela-tumukunde-794755194/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

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

## Show your support

Give a ⭐️ if you like this project!

## 📝 License

This project is [MIT](./MIT.md) licensed.