Skip to content

MclPio/odinbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👋 For Recruiters

Login into demo account via:

Odinbook

Project Link

Live Link

Blog Post

Introduction

Social media app

Project Description

A user can make posts and comments; like posts or comments, and follow other users

Features:

  1. Bulma 1.0 for styling
  2. Turbo frames and streams for faster navigation
  3. Pagy gem for pagination and infinite scroll
  4. Devise and Google OAuth for authentication
  5. Figaro gem for environment variables
  6. Faker gem for seeding

Requirements

  • Ruby 3.1.2
  • Rails 7.0.8
  • PostgreSQL 14.11
  • Yarn 1.22.19
  • Ubuntu 22.04

Setup

  1. bundle install

  2. rails css:install:bulma

  3. rails db:seed

  4. bundle exec figaro install Optional: configure your environment variables for Google OAuth2 and gmail

    # config/application.yml
    google_oauth_client_id:
    google_oauth_client_secret:
    gmail_username:
    gmail_password:
  5. ./bin/dev to start the application

  • login as user0 pre-populated with follows
    1. email: [email protected]
    2. password: 123456
  • OR
  • login with google Oauth

TODO

  • Notifications for each new follow, comment
  • stimulus components: character counter, Stimulus Timeago (better date format?), need a modal for the notifications as it is annoying and moves content.
  • Add Posts Comments Likes Menu on user profile.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published