https://github.com/inspecta/blog
Blog site. Register and login user. Logged in user can add a post. Users can comment on and like the post. Only owner can delete post.
https://github.com/inspecta/blog
cancancan capybara devise postgresql rswag-api rubocop ruby-on-rails
Last synced: 9 months ago
JSON representation
Blog site. Register and login user. Logged in user can add a post. Users can comment on and like the post. Only owner can delete post.
- Host: GitHub
- URL: https://github.com/inspecta/blog
- Owner: inspecta
- License: other
- Created: 2023-01-20T05:27:55.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-04-06T18:21:27.000Z (almost 3 years ago)
- Last Synced: 2025-04-03T20:21:53.599Z (10 months ago)
- Topics: cancancan, capybara, devise, postgresql, rswag-api, rubocop, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 732 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
BLOG README
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [🚀 Live Demo](#live-demo)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#triangular_flag_on_post-deployment)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [❓ FAQ (OPTIONAL)](#faq)
- [📝 License](#license)
**BLOG ** is a classic example of a blog website. A user will be able to login into the application (Credentials: Username and Password). The logged in user can create posts. These posts will be listed and readers of these posts will be empowered to interact with the posts by either adding comments or even liking the posts.
Client
Server
Database
- **Log into the application**
- **Create a post for the application users**
- **Interact with the posts (Like post or comment on Post)**
> Describe how a new developer could make use of your project.
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- Ruby and rails installed
- PostgreSQL server installed also
### Setup
Clone this repository to your desired folder:
```sh
mkdir blog-app
cd blog-app
git clone git@github.com:inspecta/Blog.git
```
### Install
Install this project with:
```sh
cd Blog
gem install
### Usage
To run the project, execute the following command:
```sh
rails server
```
### Run tests
To run tests, run the following command:
```sh
bin/rails test test/models/article_test.rb
```
👤 **Author1**
- GitHub: [@inspecta](https://github.com/inspecta)
- Twitter: [@djmulinde](https://twitter.com/djmulinde)
- LinkedIn: [mulinde-derrick](https://linkedin.com/in/mulinde-derrick)
👤 **Author2**
- GitHub: [@Piercel2022](https://github.com/Piercel2022)
- Twitter: [@pier_celestin](https://twitter.com/pier_celestin)
- LinkedIn: [piercelestinmax](https://linkedin.com/in/piercelestinmax)
- [ ] **A better graphical user interface**
- [ ] **A signup functionality**
- [ ] **A chat functionality**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
If you like this project, go ahead and give it a star. It is very much appreciated.
I would like to thank Microverse for providing me with the reading material that helped me during this project development.
- **Can I reuse this projects' code?**
- Yes, it is okay.
- **Can I contribute to this repository?**
- Yes. Just contact me at `djmulinde@gmail.com` and I will gladly add you as a contributor to the repository.
This project is [MIT](./LICENSE) licensed.