{"id":15570176,"url":"https://github.com/hamzaoutdoors/blog_app","last_synced_at":"2025-04-24T02:22:33.263Z","repository":{"id":45216390,"uuid":"433588520","full_name":"Hamzaoutdoors/Blog_app","owner":"Hamzaoutdoors","description":"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. ","archived":false,"fork":false,"pushed_at":"2022-02-19T01:29:07.000Z","size":2000,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-30T06:02:33.121Z","etag":null,"topics":["backend","learning-by-doing","mvc-architecture","request-specs","rspec-rails","ruby","ruby-gem","ruby-on-rails","tdd"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hamzaoutdoors.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-30T21:15:37.000Z","updated_at":"2022-02-21T16:19:40.000Z","dependencies_parsed_at":"2022-08-01T00:17:55.635Z","dependency_job_id":null,"html_url":"https://github.com/Hamzaoutdoors/Blog_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamzaoutdoors%2FBlog_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamzaoutdoors%2FBlog_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamzaoutdoors%2FBlog_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamzaoutdoors%2FBlog_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hamzaoutdoors","download_url":"https://codeload.github.com/Hamzaoutdoors/Blog_app/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250546427,"owners_count":21448329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","learning-by-doing","mvc-architecture","request-specs","rspec-rails","ruby","ruby-gem","ruby-on-rails","tdd"],"created_at":"2024-10-02T17:41:29.718Z","updated_at":"2025-04-24T02:22:33.239Z","avatar_url":"https://github.com/Hamzaoutdoors.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.microverse.org/\"\u003e\n    \u003cimg alt=\"Microverse\" src=\"https://img.shields.io/badge/-Microverse-blueviolet?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Hamzaoutdoors/Blog_app/blob/dev/LICENSE.md\"\u003e\n    \u003cimg alt=\"MIT Licensed\" src=\"https://img.shields.io/github/license/Hamzaoutdoors/to-do-list?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Hamzaoutdoors/Blog_app\"\u003e\n    \u003cimg alt=\"GitHub last commit (branch)\" src=\"https://img.shields.io/github/last-commit/Hamzaoutdoors/Blog_app/dev?color=blue\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Hamzaoutdoors/Blog_app\"\u003e\n    \u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/Hamzaoutdoors/Blog_app?color=green\u0026label=%E2%98%85%20stars%20\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Hamzaoutdoors\"\u003e\n    \u003cimg alt=\"GitHub followers\" src=\"https://img.shields.io/github/followers/Hamzaoutdoors?color=yellow\u0026logo=github\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n \u003cimg alt=\"Microverse\" src=\"https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge\u0026logo=ubuntu\u0026logoColor=white\"\u003e \u003cimg src=\"https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white\"/\u003e   \u003cimg src=\"https://img.shields.io/badge/ruby-%23CC342D.svg?style=for-the-badge\u0026logo=ruby\u0026logoColor=white\"/\u003e \u003cimg src=\"https://img.shields.io/badge/rails-%23CC0000.svg?style=for-the-badge\u0026logo=ruby-on-rails\u0026logoColor=white\"/\u003e \u003cimg src=\"https://img.shields.io/badge/bootstrap-%23563D7C.svg?style=for-the-badge\u0026logo=bootstrap\u0026logoColor=white\"/\u003e \u003cimg src=\"https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge\u0026logo=github\u0026logoColor=white\"/\u003e\u003c/div\u003e\n \n   \u003c/br\u003e\n \u003cdiv align=\"center\"\u003e\n  \u003cem align=\"center\" style\u003e\"\nwe are gathered here today to get through this thing called LIFE.\"\u003c/em\u003e\u003cstrong\u003e - Dearly beloved\u003c/strong\u003e\n  \u003c/div\u003e\n   \u003c/br\u003e\n\n# Blog App\n\nA **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.\n - **User**\n - **Post**\n - **Comment**\n - **Like** \n\n\nEverything will be based on the ERD class diagram presented below. \n\n\u003c!-- \u003c/br\u003e\n \u003cdiv align=\"center\"\u003e\n   \u003ckbd\u003e\n    \u003cimg alt=\"gif\" src=\"https://user-images.githubusercontent.com/80895497/143606720-cc2cd9bd-2909-44f0-b2ea-8056741679c4.gif\" width=100% /\u003e\n    \u003cp\u003eCatalog of my things Console App\u003c/p\u003e\n   \u003c/kbd\u003e\n\u003c/div\u003e --\u003e\n\n\u003c/br\u003e\n \u003cdiv align=\"center\"\u003e\n    \u003cimg alt=\"gif\" src=\"./public/blog_app_erd.png\" width=50% /\u003e\n    \u003cp\u003eEntity Relationship Diagram (ERD) of Blog App project\u003c/p\u003e\n\u003c/div\u003e\n\n## Getting Started\nTo run the project locally, copy up and running follow these simple example steps :\n\n - First of all make sure you have both `Ruby` \u0026 `Rails` installed in your machine\n (else You can install `Rails` just with this simple command  ```gem install rails```)\n - clone the project with the following command line : \n```\n$ git clone git@github.com:Hamzaoutdoors/BLog_app.git\n```\n - Then go to the right folder \n```\n$ cd Blog_app\n```\n```\n$ bundle\n```\nand run to install npm package\n```\n$ npm install\n```\n\nmake sure the database is up and running.\n```\n$ rails db:create\n```\nWhen you will add migration file then, you can add command like\n```\n$ rails db:migrate\n```\nRun this command line to add some dummy data\n```\n$ rails db:seed\n```\n\n - Finaly run `rails s` and visit http://localhost:3000/  in your browser!\n\n ## Run tests :\n\n To run Request specs locally you need just to run this following command in your terminal :\n\n ```\n $ bundle exec rspec\n ```\n \u003c/br\u003e\n \u003cdiv align=\"center\"\u003e\n    \u003ckbd\u003e\n    \u003cimg alt=\"gif\" src=\"https://user-images.githubusercontent.com/80895497/144337923-8f5660a0-6e8a-4ba4-99a5-c6ab42bb3b73.png\" width=90% /\u003e\n    \u003cp\u003e16 Request Specs passed\u003c/p\u003e\n       \u003c/kbd\u003e\n\u003c/div\u003e\n\n## Built With\n\n - Ruby on RAils  \u003cimg src=\"https://cdn.emojidex.com/emoji/seal/Ruby.png\" width=15px\u003e\n - PostgreSQL \u003cimg src=\"https://user-images.githubusercontent.com/80895497/142954032-f7072df9-3586-48f9-a9e0-7fdd284eb833.png\" width=15px\u003e\n \n\u003c/br\u003e\n\n## Authors\n\n👤 **Ellaouzi Hamza**\n\n- GitHub: [hamzaoutdoors](https://github.com/Hamzaoutdoors)\n- LinkedIn : [Hamza Ellaouzi](https://www.linkedin.com/in/hamza-ellaouzi-137a45b8/)\n- Twitter: [Hamza Ellaouzi](https://twitter.com/EllaouziHamza)\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/Hamzaoutdoors/Blog_app/issues).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- Inspiration 💘\n- Microverse program ⚡\n- My standup team 😍\n- My family's support 🙌\n- MicroBros 😜\n\n## 📝 License\n\nThis project is [MIT](https://github.com/Hamzaoutdoors/Blog_app/blob/dev/LICENSE.md) licensed.\n\n\u003c!-- rails generate migration CreatePosts author_id:bigint title:string text:text comments_counter:integer likes_counter:integer --\u003e\n\n\u003c!-- rails generate migration CreateUsers name:string photo:string bio:text posts_counter:integer  --\u003e\n\n\u003c!-- rails generate migration CreateCommetns author_id:bigint post_id:bigint text:text  --\u003e\n\n\u003c!-- rails generate migration CreateLikes author_id:bigint post_id:bigint--\u003e\n\n\u003c!-- rails db:migrate:redo STEP=3 --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamzaoutdoors%2Fblog_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamzaoutdoors%2Fblog_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamzaoutdoors%2Fblog_app/lists"}