/blog

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

📖 Blog

Blog is a personal blog app which supports posts, comments, and likes. Built with Rails.

🛠 Built With

Tech Stack

Key Features

  • Create posts.
  • List all the posts.
  • Add comments and likes to a post.
  • See all comments and likes in a post.

(back to top)

💻 Getting Started

Prerequisites

To run this project you need the following dependencies:

  • Ruby: 3.1.3+
  • Rails: 7.0.4.3+
  • PostgreSQL: 15.2+

Setup

  • Clone this repository to your local machine:
  git clone git@github.com:shasherazi/blog.git
  cd blog
  • Install dependencies:
  bundle install
  • Create environment variables POSTGRESQL_USER and POSTGRESQL_PASSWORD or edit config/database.yml with your database connection info.

  • Recreate Data Base:

  rake db:schema:load

Usage

To run the project, execute the following command in the terminal:

  cd blog
  rails s  

👥 Author

👤 Syed Hassan Askri

(back to top)

🔭 Future Features

  • Add validations to the model.
  • Create controllers.
  • Create a web interface.

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

🙏 Acknowledgments

I would like to thank the Microverse community for their support and guidance.

(back to top)

📝 License

This project is MIT licensed.

(back to top)