Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hamzaoutdoors/blog_app

A Blog app similar classic blog website. With fully functional website that show the list of posts and empower readers to interact with them by adding comments and liking posts.
https://github.com/hamzaoutdoors/blog_app

backend learning-by-doing mvc-architecture request-specs rspec-rails ruby ruby-gem ruby-on-rails tdd

Last synced: 15 days ago
JSON representation

A Blog app similar classic blog website. With fully functional website that show the list of posts and empower readers to interact with them by adding comments and liking posts.

Awesome Lists containing this project

README

        



Microverse


MIT Licensed


GitHub last commit (branch)


GitHub Repo stars


GitHub followers


Microverse




"
we are gathered here today to get through this thing called LIFE."
- Dearly beloved

# Blog App

A **Blog app** similar classic blog website. With fully functional website that show the list of posts and empower readers to interact with them by adding comments and liking posts.
- **User**
- **Post**
- **Comment**
- **Like**

Everything will be based on the ERD class diagram presented below.


gif

Entity Relationship Diagram (ERD) of Blog App project


## Getting Started
To run the project locally, copy up and running follow these simple example steps :

- First of all make sure you have both `Ruby` & `Rails` installed in your machine
(else You can install `Rails` just with this simple command ```gem install rails```)
- clone the project with the following command line :
```
$ git clone [email protected]:Hamzaoutdoors/BLog_app.git
```
- Then go to the right folder
```
$ cd Blog_app
```
```
$ bundle
```
and run to install npm package
```
$ npm install
```

make sure the database is up and running.
```
$ rails db:create
```
When you will add migration file then, you can add command like
```
$ rails db:migrate
```
Run this command line to add some dummy data
```
$ rails db:seed
```

- Finaly run `rails s` and visit http://localhost:3000/ in your browser!

## Run tests :

To run Request specs locally you need just to run this following command in your terminal :

```
$ bundle exec rspec
```



gif

16 Request Specs passed



## Built With

- Ruby on RAils
- PostgreSQL

## Authors

👤 **Ellaouzi Hamza**

- GitHub: [hamzaoutdoors](https://github.com/Hamzaoutdoors)
- LinkedIn : [Hamza Ellaouzi](https://www.linkedin.com/in/hamza-ellaouzi-137a45b8/)
- Twitter: [Hamza Ellaouzi](https://twitter.com/EllaouziHamza)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/Hamzaoutdoors/Blog_app/issues).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Inspiration 💘
- Microverse program ⚡
- My standup team 😍
- My family's support 🙌
- MicroBros 😜

## 📝 License

This project is [MIT](https://github.com/Hamzaoutdoors/Blog_app/blob/dev/LICENSE.md) licensed.