/Blog-App-Rails

Primary LanguageRubyMIT LicenseMIT

Blog App

📗 Table of Contents

📖 Blog App

The Blog app will be a classic example of a blog website. It is a Microverse project where they required me to create a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.

🛠 Built With

Tech Stack

Ruby On Rails

Key Features

  • Add User, Post, Like & Comment
  • List all Users, Posts, Likes & Comments

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Mac or PC
  • Code Editor (Vs Code)
  • Terminal
  • Install ruby 3.2.2 on your computer
  • Install rails on your computer
  • Install postgreSQL on your computer

Setup

Clone this repository to your desired folder:

  cd your-folder
  https://github.com/Lucash2022/Blog_App.git

Install

Install this project with:

  • GitHub Actions
  • Linters
    • Rubocop
  • Ruby On Rails

Usage

  • Run bundle install in the terminal from the root folder of the project.
  • Run rails db:create in the terminal from the root folder of the project.
  • Run rails db:migrate in the terminal from the root folder of the project.
  • Run the app with rails c in the terminal from the root folder of the project.
  • Create a new user
User.create(name: 'Lucas', bio: 'Full stack developer from Namibia', photo: 'https://ca.slack-edge.com/T47CT8XPG-U03PBVD9PAS-26c072588661-512', posts_counter: 0)
  • Run the server with rails s in the terminal from the root folder of the project.

Test

  rspec

(back to top)

👥 Authors

👤 Lucas Erkana

👤 Saba Ahmad

(back to top)

🔭 Future Features

  • Create Users

(back to top)

🤝 Contributing

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 leave a ⭐️

(back to top)

🙏 Acknowledgments

I would like to thank Microverse for providing the reading materials that aided me during the project development

(back to top)

❓ FAQ

  • Can I use this code?

    • yes, it is open source. Feel free to fork it.
  • Can I contribute to this project?

    • Contact me so I can add you as a collaborator. Alternatively you can leave an issue, it will be well appreciated.

(back to top)

📝 License

This project is MIT licensed.

(back to top)