Skip to content

The Blog-dev is a fully functional website that allows users to view a list of posts, add comments, and like posts.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.chromedriver
Notifications You must be signed in to change notification settings

mohisa302/Blog-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

📰 Coatino - Rails App

Costino is a simple, easy-to-use blogging platform which allows users to create and publish their own blog posts. Users can also read posts from other users and give likes/comments.

(back to top)

🧰 Tech Stack

  • Ruby on Rails
  • PostgreSQL

(back to top)

✨ Key Features

  • Create and manage blog posts
  • Read posts by other users
  • Interact by giving likes/comments
  • User authentication and authorization
  • Install CanCanCan in your project.
  • Add a role column to the users table.
  • A user can delete a post if it is theirs or if they have an admin role.
  • A user can delete a comment if it is theirs or if they have an admin role.
  • Create an API endpoint to list all posts for a user.
  • Create an API endpoint to list all comments for a user's post.
  • Create an API endpoint to add a comment to a post. Remember that the owner of the comment is the user that makes it; it should not be set by passing a parameter.
  • Our API endpoints should receive JSON and respond JSON as well.

(back to top)

📘 Getting Started

To run this project locally, you'll need to follow these steps.

📋 Prerequisites

Make sure you have the following installed on your machine:

📂 Setup

Clone this repository to your desired folder.

git clone [email protected]:mohisa302/Blog-app.git .
cd Blogify

📥 Installation

Install the required gems with:

bundle install

💾 Database

Create the databases and run migrations with:

rails db:create
rails db:migrate

💻 Usage

To run the development server, execute the following command:

rails server

🧪 Run tests

To run tests, run the following command:

rspec spec

(back to top)

👨‍🚀 Authors

👤 Mohi

👤 HABASM

(back to top)

🎯 Future Features

  • Add tests
  • Create API endpoints
  • Implement authentication

(back to top)

🤝 Contribution

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

💖 Show Your Support

If you like this project, please consider giving it a ⭐.

(back to top)

🙏 Acknowledgements

I would like to thank all code reviewers for making this project better.

(back to top)

📜 License

This project is MIT licensed.

(back to top)

About

The Blog-dev is a fully functional website that allows users to view a list of posts, add comments, and like posts.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.chromedriver

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published