Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vic778/blog-app
The Blog app is a classic example of a blog website. A fully functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts. Built with Ruby, Ruby on Rails
https://github.com/vic778/blog-app
Last synced: about 2 months ago
JSON representation
The Blog app is a classic example of a blog website. A fully functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts. Built with Ruby, Ruby on Rails
- Host: GitHub
- URL: https://github.com/vic778/blog-app
- Owner: vic778
- Created: 2022-04-05T08:58:59.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-05-01T15:56:23.000Z (over 2 years ago)
- Last Synced: 2023-03-03T21:13:34.668Z (almost 2 years ago)
- Language: Ruby
- Homepage: https://sleepy-lake-67883.herokuapp.com
- Size: 110 KB
- Stars: 0
- Watchers: 1
- 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. A fully functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.
This API is made of three models:
- User model
- Post model
- Comment model
- Like model
- Ability modelThe API has the following endpoints:
allow user to authenticate and return a token
`POST /users/sign_in`
allows user to create an account
`POST /users/sign_up`
returns all the posts
`GET /users/id/posts`
allows admin to create an post
`POST /users/id/posts/new`
returns a specific post
`GET /users/id/posts/id`
## Built With
- Rails
- Ruby
- Postgresql## Getting Started
Here are the steps to follow in order to get this project on your local computer.
### Prerequisites
`rails v7.0.2 +`
`ruby v3.0.2 +`
### Setup
clone this repo by typing `git clone https://github.com/vic778/blog-app`
### Install
install the dependencies by typing `bundle install`
### Usage
start the local server by running `rails s`
### Testing
run the tests by typing `bundle exec rspec`
### Rubocoop
run the tests by typing `rubocop --color`### Deployment
N/A
## Author
👤 **Victor Barh**
- GitHub: [@Vvic778](https://github.com/vic778)
- Twitter: [@victoirBarh](https://twitter.com/)
- LinkedIn: [LinkedIn](https://linkedin.com/in/victoir-barh)## 🤝 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 anyone whose code was used !
## 📝 License
This project is [MIT](lic.url) licensed.