Giter Site home page Giter Site logo

msc49 / acebook Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.55 MB

an old project that I found on my laptop where I created a clone of Facebook using Ruby on Rails,RSpec-Capybara, PostgreSQL/Active Record, Travis-CI

License: Other

Ruby 73.27% Procfile 0.04% JavaScript 0.95% CSS 1.20% SCSS 2.64% HTML 21.90%

acebook's Introduction

AceBook

A Facebook clone created using Ruby on Rails!

Features

  • User Authentication
  • Users can make posts, both with images and text
  • Users can make comments on posts
  • Users can like a post
  • Users can modify their profile information and upload an avatar
  • Avatar displayed on posts and navbar
  • Default avatar given to user on account creation
  • User can send friend requests to other users
  • Users can accept/reject friend requests
  • Friends are displayed on home page

Quickstart

First, clone this repository. Then:

> bundle install
> bin/rails db:create
> bin/rails db:migrate

> bundle exec rspec # Run the tests to ensure it works
> bin/rails server # Start the server at localhost:3000

Troubleshooting

If you don't have Node.js installed yet, you might run into this error when running rspec:

ExecJS::RuntimeUnavailable:
  Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.

Rails requires a Javascript runtime to work. The easiest way is to install Node by running brew install node - and then run bundle exec rspec again

acebook's People

Contributors

msc49 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.