https://github.com/hfg43/blog_app
https://github.com/hfg43/blog_app
gems mvc-architecture postgresql ruby
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hfg43/blog_app
- Owner: HFG43
- License: mit
- Created: 2023-09-19T19:41:12.000Z (almost 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-10-06T17:54:40.000Z (over 1 year ago)
- Last Synced: 2025-04-24T07:05:16.426Z (2 months ago)
- Topics: gems, mvc-architecture, postgresql, ruby
- Language: Ruby
- Homepage:
- Size: 148 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Blog App
# ๐ Table of Contents
- [๐ About the Project](#about-project)
- [๐ Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [๐ป Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Usage](#usage)
- [๐ฅ Authors](#authors)
- [๐ญ Future Features](#future-features)
- [๐ค Contributing](#contributing)
- [โญ๏ธ Show your support](#support)
- [๐ Acknowledgements](#acknowledgements)
- [๐ License](#license)**Blog App** is a website created using Ruby on Rails and Postgresql to practice OOP, Data Base Migration and apply best practices. It allows users to create post, comments and give likes.
Ruby
Postgresql
- **Use Gitflow**
- **Set Up Postgres Database**
- **Create Data Models using ERD Diagrams**
- **Use models to insert data**
- **Use CRUD methods**
- **Add methods in models**
- **Include validations**
- **Add Unit test**
- **Add controllers**
- **Define Routes**
- **Include controllers actions**
- **Add test using Rspec gem for all controllers**
- **Add views following controller methods**
- **Give style following wireframes design**
- **Add forms to add new post and comments**
- **Add functionality to add likes**
- **Review Linters**
This repository includes files with ruby lenguage.
### Prerequisites
In order to run this project you need to have Ruby installed, check [this](https://www.ruby-lang.org/en/) documentation in order to know how to install it.
### Setup
Clone this repository to your desired folder:
cd my-folder https://github.com/HFG43/Blog_app
git clone
### Usage
To populate the database, in your command line execute:
```sh
rails db:seed
```
To run the project, in your command line execute the following:
```sh
rails s
```
To check the linters you can use the command:
```sh
rubocop
npx stylelint "**/*.{css,scss}"
```
To fix the linter use:
```sh
rubocop --fix
```
๐ค **Hernรกn Gรผemes**
- GitHub: [@githubhandle](https://github.com/HFG43)
- Twitter: [@twitterhandle](https://twitter.com/HFG_43)
- LinkedIn: [@Hernรกn Gรผemes](linkedin.com/in/hernanguemes)
๐ค **Ahmed Eid**
- GitHub: [Ahmed Eid](https://github.com/ahmedeid6842)
- Twitter: [@ahmedeid2684](https://twitter.com/ahmedeid2684)
- LinkedIn: [Ahmed Eid](https://www.linkedin.com/in/ameid/)
- [ ] **Deploy**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/HFG43/Blog_app/issues).
If you like this project you could clone the repo and work with it or do the changes in a new branch. Also you could let a message with your thoughts.
I would like to thank Microverse for providing the necessary resources for this project.
This project is [MIT](./LICENSE) licensed.