An open API service indexing awesome lists of open source software.

https://github.com/marcusal/mvc-hackernews-blog

A blog where posts can be created, upvoted, edited, and deleted via the terminal
https://github.com/marcusal/mvc-hackernews-blog

Last synced: 8 months ago
JSON representation

A blog where posts can be created, upvoted, edited, and deleted via the terminal

Awesome Lists containing this project

README

          

![Issues](https://img.shields.io/github/issues/marcusal/mvc-hackernews-blog?style=for-the-badge)
![Followers](https://img.shields.io/github/followers/marcusal?style=for-the-badge)
![Stars](https://img.shields.io/github/stars/marcusal?style=for-the-badge)
![Pull Requests](https://img.shields.io/github/issues-pr/marcusal/mvc-hackernews-blog?style=for-the-badge)
![Last Commit](https://img.shields.io/github/last-commit/marcusal/mvc-hackernews-blog/main?style=for-the-badge)

# Hackernews Blog
In this project, I have created a simple Terminal App. The data is stored via SQL, and CRUD actions are implemented using Ruby code.

GIF

## Built With Ruby

![Ruby](http://img.shields.io/badge/-Ruby-3776AB?style=flat-square&logo=ruby&logoColor=red)

## Prerequisites

Ruby 2.6 (Or later)

## How to Test for Errors

1. Install Ruby
2. Access the app folder in the terminal
3. Run app.rb
```
$ ruby app.rb
```

__Clone the repo to your local machine using the terminal__:
```
$ git clone https://github.com/Marcusal/mvc-hackernews-blog
```

## How to Use

1. Run by typing in your terminal:
```
$ ruby bin/app.rb
```
2. Each user can create a new blog post
3. Each user can edit/modify an existing post
4. The data is persisted on the sqlite server
5. Each post can be upvoted

## Authors

👤 **Marcus**

- GitHub: [@Marcusal](https://github.com/Marcusal)
- LinkedIn: [Mark Allen](https://www.linkedin.com/in/marcusa999/)

## Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/Marcusal/mvc-hackernews-blog/issues)

## 📝 License

This project is [MIT](LICENSE) licensed.