JCembala / exercise-repo

Simple blog app clone which allows users to register, login, post, comment and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

Set up fresh app with the following settings:

  • ruby 3.1.2
  • rails 7.0.3
  • testing: rspec + factory_bot + faker
  • db: PostgreSQL 14
  • rubocop as static code analyzer

Admin

login: admin@example.com
password: password

DB setup

  1. rails db:create
  2. rails db:migrate
  3. rails db:seed

Sendgrid

Application uses Sendgrid. You have to add your .env.local file with your API_KEY. Check .env for more info

Lockbox

You have to add your Master_key to .env.local file:

  • generate it with Lockbox.generate_key
  • add it to .env.local file: LOCKBOX_MASTER_KEY=your_key_here

Overcommit

This project is using overcommit to ensure commit quality.

  • Run gem install overcommit
  • Move to your project dir
  • Run overcommit --install

About

Simple blog app clone which allows users to register, login, post, comment and more


Languages

Language:Ruby 83.6%Language:HTML 14.3%Language:SCSS 0.8%Language:JavaScript 0.8%Language:Shell 0.4%