This is a project for creating a blog with RoR
MIT License
This is a project for creating a blog web app using ruby on rails
The app has two levels of authorization;
A client can
An author has all the privileges of a regular user but the author can also perform the following actions:
The application was developed with Ruby on Rails, Sqlite3 for database management in development.
Follow the steps below to setup a local development environment. First ensure you have Sqlite3 installed, and a version of Ruby on Rails equal or greater than v5.2.3 .
git clone https://github.com/dansantander/rails_blog
.rails_blog
bundle install
rails server
EndPoint | Functionality |
---|---|
POST /authors/new | Allows a client to create an account. |
POST /login | signs in a user(author) |
EndPoint | Functionality |
---|---|
GET /articles | Allows a client to view all articles. |
GET /articles/:article_id | Allows a client to view a specific article. |
PATCH /articles/:article_id/edit | Allows an author to edit an specific article. |
DELETE /articles/:article_id | Allows an author to delete an specific article. |
EndPoint | Functionality |
---|---|
POST /articles/:article_id/comment | Allows a client to comment on an article. |
EndPoint | Functionality |
---|---|
GET /tags | Allows an client to view all tags. |
GET /tags/:tag_id | Allows a author to view a specific tag. |
👤 Alfred Ezaka
👤 Daniel Santander
Give a ⭐️ if you like this project!