Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usmansbk/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
https://github.com/usmansbk/blog
bulma-css rails ruby
Last synced: 4 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/usmansbk/blog
- Owner: usmansbk
- License: mit
- Created: 2021-10-25T19:31:16.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2021-11-09T14:22:57.000Z (about 3 years ago)
- Last Synced: 2025-01-10T05:38:37.223Z (6 days ago)
- Topics: bulma-css, rails, ruby
- Language: Ruby
- Homepage:
- Size: 1.25 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blog
![Microverse](https://img.shields.io/badge/Microverse-blueviolet)
> Classic blog website
![screenshot](./app_screenshot.png)
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
- [Ruby](https://www.ruby-lang.org/en/)
- [Rails](https://gorails.com/)### 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
```sh
bundle install
```### Database
```sh
# 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
```sh
rails s
```### Test
```sh
# Load mock data
rails db:seedrspec
```### API
[Local API](http://127.0.0.1:3000/api-docs/)
### Troubleshoot
### Rspec failing
```sh
RAILS_ENV=test rake db:reset
```## Authors
👤 **Usman**
- GitHub: [@usmansbk](https://github.com/usmansbk)
- Twitter: [@usmansbk](https://twitter.com/usmansbk)
- LinkedIn: [Usman Suleiman Babakolo](https://linkedin.com/in/usmansbk)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Microverse
## License
[MIT](./LICENSE)