{"id":16447418,"url":"https://github.com/eduardosancho/blog-app","last_synced_at":"2025-09-18T01:31:49.550Z","repository":{"id":40341100,"uuid":"486316972","full_name":"eduardosancho/blog-app","owner":"eduardosancho","description":"Blog where users can add comments and likes to each other's posts.","archived":false,"fork":false,"pushed_at":"2022-05-13T22:03:35.000Z","size":528,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-06-04T05:04:26.775Z","etag":null,"topics":["rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eduardosancho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-27T18:59:33.000Z","updated_at":"2022-05-17T14:40:58.000Z","dependencies_parsed_at":"2022-08-09T17:41:10.626Z","dependency_job_id":null,"html_url":"https://github.com/eduardosancho/blog-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eduardosancho/blog-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardosancho%2Fblog-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardosancho%2Fblog-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardosancho%2Fblog-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardosancho%2Fblog-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduardosancho","download_url":"https://codeload.github.com/eduardosancho/blog-app/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardosancho%2Fblog-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275695724,"owners_count":25511349,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["rails","ruby"],"created_at":"2024-10-11T09:50:41.336Z","updated_at":"2025-09-18T01:31:49.115Z","avatar_url":"https://github.com/eduardosancho.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/static/v1?label=BY\u0026message=eduardosancho\u0026color=purple)\n![](https://img.shields.io/badge/Microverse-blueviolet)\n\n# Blog App\n![Rails](https://img.shields.io/badge/rails-%23CC0000.svg?style=for-the-badge\u0026logo=ruby-on-rails\u0026logoColor=white)\n![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)\n\n## Preview\n![screenshot](./screenshot.png)\n\u003chr\u003e\n\n## Table of Contents\n\n- [Description](#description)\n- [Built With](#built-with)\n- [Getting Started](#getting-started)\n  - [Clone Repo](#clone-repo)\n  - [Prerequisites](#prerequisites)\n  - [Install Rails](#install-rails)\n- [Setup](#setup)\n  - [System Dependencies](#system-dependencies)\n  - [Database Creation](#database-creation)\n  - [Database Initialization](#database-initialization)\n- [Usage](#usage)\n  - [Start Server](#start-server)\n  - [Testing Rails](#testing-rails)\n  - [Testing RSpec](#testing-rspec)\n- [How To Contribute?](#how-to-contribute)\n- [Collaborators](#collaborators)\n- [Show Your Support](#how-your-support)\n- [Acknowledgments](#acknowledgments)\n- [License](#license)\n\u003chr\u003e\n\n## Description\n\u003e 'Social media' -like app that allows for users to sign in to their accounts, create posts of their own, and comment and like other people's.\n\u003chr\u003e\n\n## Built With\n\n- Major languages: Ruby, HTML, CSS.\n- Frameworks: Ruby on Rails.\n- Tools \u0026 Methods: RSpec for Testing, PostgreSQL for Database.\n\u003chr\u003e\n\n## Getting Started\n\nWe'll need to prepare your computer to handle Ruby on Rails, which might be a hassle, so take a deep breath and cope with me :)\n\n## Clone Repo\n\nFirst clone this repo by running this command in your terminal:\n~~~ bash\ngit clone https://github.com/eduardosancho/blog-app.git\n# wait a couple seconds for it to download\n# ...\n# ...\n# then move into the new directory\ncd blog-app\n~~~\n\n\u003chr\u003e\n\n## Prerequisites\n\nThe following technologies must be installed before hand in your local machine:\n\n - Ruby (ruby --version). Should be 2.2.2 or newer.\n - SQLite3 (sqlite3 --version)\n - Node.js (node --version)\n - Yarn (yarn --version)  \n\nThe commands in parenthesis `()` can be used to verify if they are installed and their corresponding versions.\n\nRefer to [Section 3](https://guides.rubyonrails.org/v5.1/getting_started.html#:~:text=3%20Creating%20a%20New%20Rails%20Project) from the official [Rails Guide](https://rubyonrails.org/) for more detailed instructions on how to install these technologies.\n\n### Install Rails\nOnce that's done, we can install Rails. For that, run these commands in your terminal:\n~~~ bash\ngem install rails\n# wait a few seconds for it to download\n# ...\n# ...\n# verify that it was installed by running\nrails --version\n~~~\n\u003chr\u003e\n\n## Setup\n\nWe're getting there... trust me ;)\n\n## System Dependencies\n\nExecute this command to automatically install all the dependencies needed to view and work on this project:\n\n~~~ bash\nbundle install\n~~~\n\nThe full list of dependencies can be found within the [Gemfile](https://github.com/eduardosancho/blog-app/blob/development/Gemfile).\n\nThis also installs PostgreSQL, which you'll need for the next step.\n\u003chr\u003e\n\n## Database Creation\n\nThe following command will create the database in your local machine.\n~~~ bash\nrails db:create\n~~~\n\n## Database Initialization\nTo initialize the database we just created, now run:\n~~~ bash\nrails db:schema:load\n~~~\n\n## Database Populate Default\nTo populate the database with some minimal info run:\n~~~ bash\nrails db:seed\n~~~\n\u003chr\u003e\n\n## Usage\nIf you got to this point, congratulations! You now have spent 2 hours in order to toy with my app. I appreciate your effort :P\n\n## Start Server\nThe following command should start a server\n~~~ bash\nrails server\n~~~\nWhich you can visit by going to http://localhost:3000 in your browser.\n\u003chr\u003e\n\n\n## Testing Rails\nThe default folder for tests in rails is [/test](/test/).\n\nIn order to run the tests located in the test folder run:\n~~~ bash\nrails test\n~~~\n\n## Testing RSpec\nRSpec tests belong in another folder, which is [/spec](/spec/), all thanks to the ruby **magic** called `naming conventions`.\nAnyway, to run tests located in the spec folder run:\n~~~ bash\nrspec\n~~~\n\u003chr\u003e\n\n## How To Contribute?\n\nAlways remember to commit your contributions on a different branch. You can create a new one by running `git checkout -b \u003cbranchname\u003e`.\n\nVisit [linters folder](.github/workflows/linters.yml) to learn how to setup linters.\n\nThen check linters locally before pushing by running:\n~~~ bash\nnpx stylelint \"**/*.{css,scss}\"\n# ...\n# ...\nrubocop --color -A\n~~~\n\nFinally, once your changes have no linter errors and all [tests](#testing-rails) are passing, try to merge your branch into  `development` by running:\n~~~ bash\ngit checkout development\ngit merge \u003cbranchname\u003e\n~~~\nContinue by solving any merge conflicts that may arise, test the functionality of the app once more, and you're changes are ready to be pushed with `git push origin \u003cbranchname\u003e`\n\u003chr\u003e\n\n# And that's pretty much it for the instructions!\n\n## Collaborators\n👤 **Eduardo**\n\n Platform | Badge |\n --- | --- |\n **GitHub**  | [@eduardosancho](https://github.com/eduardosancho)\n **Twitter** | [@sanchitobless](https://twitter.com/sanchitobless)\n **LinkedIn** | [Eduardo Sancho Solano](https://www.linkedin.com/in/eduardo-sancho-solano/)\n\u003chr\u003e\n \n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\u003chr\u003e\n\n## Acknowledgments\n\nThe ideas and inspiration from this project are coming from this online school of software development:\n\n## [**Microverse**](https://www.microverse.org/)\n\u003chr\u003e\n\n## 📝 License\n\nThis project is [MIT](./MIT.md) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardosancho%2Fblog-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduardosancho%2Fblog-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardosancho%2Fblog-app/lists"}