https://github.com/natasha-ct/blog-app-rails
The Blog app is a classic example of a blog website. It is a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
https://github.com/natasha-ct/blog-app-rails
css3 html rails railsgems rspec-rails rubocop ruby unit-testing validation
Last synced: 12 days ago
JSON representation
The Blog app is a classic example of a blog website. It is a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
- Host: GitHub
- URL: https://github.com/natasha-ct/blog-app-rails
- Owner: NATASHA-ct
- Created: 2022-10-26T14:25:37.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-11-10T20:45:08.000Z (over 2 years ago)
- Last Synced: 2025-04-08T21:36:03.354Z (about 1 month ago)
- Topics: css3, html, rails, railsgems, rspec-rails, rubocop, ruby, unit-testing, validation
- Language: HTML
- Homepage:
- Size: 369 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog App
The Blog app is a classic example of a blog website. It is a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.It also includes Authentication through login using devise.
## Built With
- Ruby
- Rails
- Postgresql
- Linters## Prerequisites
- A Command Line Interface.
- Having Ruby installed.
- Setup Rails
- Postgresql
- A code editor like Visual Studio Clone.
- Git installed.To check if you have Git, Postgres and Ruby installed you can use the commands below:
```sh
$ git --version
$ ruby --version && irb
```
If you don't have Ruby, you can find a complete list of ways to install Ruby, including using third-party tools like rvm, see:(https://www.ruby-lang.org/en/downloads/)
### 🛠 Installation & Set UpIf you installed git you can clone the code to your machine, or download a ZIP of all the files directly.
```- Open the [Repository Link](https://github.com/NATASHA-ct/BLOG-app-rails.git) of this project in GitHub.
- Once the files are on your machine, open capstone-ruby folder in [Visual Studio Code](https://code.visualstudio.com/).
## Getting Started
-To get a local copy up and running follow these simple example steps.### Install
Start by cloning the repository.
- https://github.com/NATASHA-ct/BLOG-app-rails.gitNavigate to the created folder.
- Initialize your project with Git.
- Make sure that your project has Postgres database set up.
- Run rails server and visi thttp://127.0.0.1:3000/ in your browser!### Usage
--Once you have your repository cloned on your machine, feel free to modify it as needed.
- To add your own page### run the following in your terminal:
- gem install rails
- gem install pg
- bundle install (use this whenever you want add a gem in your gem file)
- rails new . --database=postgresql
- rails db:create
- rails generate controller **foldername filename*8
- rails generate model
### Testing with Rspec and Capybara
- In your terminal run >
bundle exec rspec
```
### Quick view of the project
To be updated .............## Authors
👤 **Natasha Tatenda Chirombe**- GitHub: [@NATASHA-ct]((https://github.com/NATASHA-ct)
- Twitter: [@NatashaChirombe]
- LinkedIn: [Natasha Chirombe](linkedin.com/in/natasha-chirombe-1531aa17b)👤 **Karla Delgado** (Contributor)
- GitHub: [@karlavdelgadof](https://github.com/karlavdelgadof)
- Twitter: [@karlavdelgadof](https://twitter.com/karlavdelgadof)
- LinkedIn: [Karla Delgado](https://www.linkedin.com/in/karla-delgado-613a32239/)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
-Hat tip to all documentations used
-Inspiration