Skip to content

kguyer/Posts

Repository files navigation

Posts Project

Source

https://www.theodinproject.com/lessons/ruby-on-rails-blog-app
This app implements more than what was required for this project.

Features

When signed in:

  • Users can create, edit, and delete posts
  • Users can create and delete comments

When signed out:

  • Users can view posts and create comments

Ruby Version

Version 3.2.2
Use ruby -v to see your system version

Rails version

Version 7.0.5
Use rails -v to see your system version

Devise Gem Version

Version 4.9
To add the Devise gem check out the README here https://github.com/heartcombo/devise

Database

Postgresql
Make sure you have Postgres installed on your machine. You can follow the instructions here https://www.theodinproject.com/lessons/ruby-on-rails-installing-postgresql

Setup

  1. Clone the repo git clone https://github.com/kguyer/Posts

  2. Setup the database bin/rails db:setup, then migrate bin/rails db:migrate

  3. Start the server rails server

  4. Visit localhost:3000 to view the app in your browser