Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hamzaoutdoors/blog_app
- Owner: Hamzaoutdoors
- License: mit
- Created: 2021-11-30T21:15:37.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2022-02-19T01:29:07.000Z (almost 3 years ago)
- Last Synced: 2024-12-26T08:02:06.313Z (27 days ago)
- Topics: backend, learning-by-doing, mvc-architecture, request-specs, rspec-rails, ruby, ruby-gem, ruby-on-rails, tdd
- Language: Ruby
- Homepage:
- Size: 1.91 MB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
"
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.
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
```
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.