fmanimashaun / myblog

The Blog app is a classic example of a blog website designed by ruby on rails with a database by PostgreSQL. I have created a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog App

πŸ“— Table of Contents

πŸ“– Blog App

The Blog app is a classic example of a blog website designed by ruby on rails with a database by PostgreSQL. I have created 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

Programming Language
  • Ruby 3.2.2
Web Application Framework
  • Rails 7.1.2
Database
  • PostgreSQL (pg gem)
Web Server
  • Puma
JavaScript Modules
  • ESM Import Maps (importmap-rails gem)
Hotwire
  • Turbo (turbo-rails gem)
  • Stimulus (stimulus-rails gem)
APIs
  • Jbuilder
Performance Optimization
  • Bootsnap
Testing
  • Debug
  • Capybara
  • Selenium Webdriver
  • RSpec (rspec-rails gem)
Code Quality
  • Rubocop
Development Tools
  • Web Console

Key Feature

  • Rails Setup
  • Data Model Setup
  • Models Created
  • Class Association Implemented
  • Custom Methods Implemented to Fetch and Manipulate Data
  • Models Data Validation Implemented
  • Models Unit Testing Applied

πŸ‘†

πŸ’» Getting Started

To get started with the project, follow the steps below.

Prerequisites

To run this project, ensure you have the following installed:

Setup

Clone the repository to your local machine:

git clone https://github.com/fmanimashaun/myblog.git

cd myblog

bundle install

Database Setup

This application uses PostgreSQL as the database. Here are the steps to set it up:

  1. Ensure PostgreSQL is installed on your machine and running.

  2. Update the config/database.yml file with your PostgreSQL username and password in the default section.

  3. Create the database:

rails db:create
  1. Run migrations to set up the database schema:
rails db:migrate

Usage

To run the program, you can use a Ruby interpreter. For example, to interact with the code, use the following:

  1. Start the server
rails s
  1. Access the Blog app in your web browser at http://localhost:3000.

πŸ‘†

πŸ‘₯ Authors

πŸ‘€ Fisayo Michael Animashaun

πŸ‘€ Mahram Hossain

πŸ‘€ Daniel Villalba L

πŸ‘†

πŸ”­ Future Features

  • implement database

πŸ‘†

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Issue Page

πŸ‘†

⭐️ Show your support

If you like this project leave a start for it.

πŸ‘†

πŸ™ Acknowledgments

I'd like to thank Microverse for helping us in the journey to become a Fullstack developer.

πŸ‘†

πŸ“ License

This project is MIT licensed.

πŸ‘†

About

The Blog app is a classic example of a blog website designed by ruby on rails with a database by PostgreSQL. I have created a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.

License:MIT License


Languages

Language:Ruby 70.0%Language:HTML 25.1%Language:JavaScript 1.9%Language:Dockerfile 1.9%Language:CSS 0.9%Language:Shell 0.3%