/blog_app

Primary LanguageRubyGNU General Public License v2.0GPL-2.0

📗 Table of Contents

Blog app : The Blog app is a classic example of a blog website. We have 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.

Tech Stack

Server
  • Rails server
Database

Key Feature

  • The form to enter data in the blog app

  • 1: Creating a data model.

  • 2: Validations and Model specs.

  • 3: Processing data in models.

  • 4: Setup and controllers.

  • 5: Controllers specs.

  • 6: Views.

  • 7: Forms.

  • 8: Integration specs for Views and fixing n+1 problems.

  • 9: Add Devise.

(back to top)

💻 Getting Started

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

Prerequisites

In order to have the rubygems in your machine, run the following command

gem install

In order to run this project you need to run the following command to install the rails-rspec testing framework:

 bundle install

Setup

Clone this repository to your desired folder:

  git clone git@github.com:Piercel2022/blog_app.git
  cd blog_app

Install

Install this project with:

  rvm use 3.1.2
  nvm use 14
  yarn install
  bundle install

Usage

To be able able to do this project, run the following command:

  rails server

(back to top)

👥 Authors

👤 Pierre Celestin Moussa

👤 Mudasir Sherwani

🔭 Future Features

  • Add authorization rules
  • Add API endpoints
  • API documentation

🤝 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 give a ⭐️

(back to top)

🙏 Acknowledgments

I would like to thank Microverse especially Codereviewers

(back to top)

❓ FAQ

  • How do you install the rails framework you are building the project with?

  • First of all install the rubyGems(gem) with: gem install rails and check the version of rails you are using with: rails -v

  • How do you setup this rails application to use the postgresql database?

  • rails new blog_app --database=postgresql

(back to top)

📝 License

This project is MIT licensed.

(back to top)