/rails_blog

A full blog application with rails and postgres

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

📖 [Rails Blog]

A blog application developed using rails

🛠 Built With

Tech Stack

Client
Server
Database

Key Features

  • List all Users
  • List all Posts
  • List all of Comments for a post
  • List all of likes for a post

(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 Ruby, rails and Postgres installed:

On Linux:

 sudo apt-get install ruby-full

On Windows

Go to Windows Subsystem for Linux to set up wsl for ubuntu

Setup

Clone this repository to your desired folder:

  git clone git@github.com/Stephen-Adom/rails_blog
  cd rails_blog

Install

  bundle install

Usage

To run the project follow the following instruction:-

  bundle exec rails server

  run gem install mailcatcher --pre -> a super simple SMTP server which catches any email messages
  run mailcatcher and go to http://127.0.0.1:1080/

Run tests

To run tests, run the following command:

  rspec spec/*
  ./bin/rails test:integration

Deployment

You can deploy this project using: Not available

(back to top)

👥 Author

👤 Stephen Addae

👤 Queenter Juma

(back to top)

🔭 Future Features

  • User Authentication
  • Add Post
  • Add Comment for a post
  • Add likes for a post

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [repo:https://github.com/Stephen-Adom/rails_blog.git]

(back to top)

⭐️ Show your support

If you like this project please follow me on github

(back to top)

🙏 Acknowledgments

We would like to thank Microverse and my colleagues.

(back to top)

📝 License

This project is MIT licensed.

(back to top)