Skip to content

themetar/odin-facebook

Repository files navigation

Phacepook

Phacepook is a social network (Facebook clone) website built with Ruby on Rails.

Requirements

To run the application locally, you need:

Setting up PostgreSQL

The application, by default, uses Unix sockets to connect to a local Postgres database, using the default role name - same as the operating system user. So, you should either create a database user with the same username, or tell the application to use your custom database access info via the config/database.yml configuration file.

Running the app

Download, or clone with git: git clone git@github.com:themetar/odin-facebook.git
Then,

# Install gems
bundle install

# Create the database
bin/rails db:create

# Initialize the database
bin/rails db:schema:load

# Optionally, seed the database
bin/rails db:seed

# And start the local web server
bin/dev

Features

  • User authentication and OAuth with Devise
  • Database ORM with Active Record
  • ERB component partials

Origin

This is the final project assignment of the Odin Project Ruby on Rails course.

About

Facebook clone built with Ruby on Rails

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors