Skip to content

A project to resemble a blog so we could practise Rails and to learn how to integrate some common functionality

Notifications You must be signed in to change notification settings

divijm/CFA-Lambtown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFA-Lambtown

Problem

In this project, we had to create a blog type system that is used for the inhabitants of Lambtown to posts their thoughts and feelings about living there!

The aim was to test our knowledge of how to login in with the use of various social media sites like Facebook (Omniauth gem). Later on we experimented with added roles (Rolify) to the application. We added an admin role that can view all the posts of a user and delete users. We also created a Trello board for user stories as part of agile methodologies.

Imgur

Requirements

  • Ruby 2.0 or later.
  • Ruby on Rails 5.0 or later.
  • Devise authentication by plataformatec.
  • Simple Form form generator by plataformatec.
  • Omniauth-facebook by mkdynamic.
  • Materialize-sass by mkhairi.
  • Friendly_id by norman.
  • Rolify by Rolify Community.
  • Pundit by elabs.

Installation

Clone the directory onto local drive then:

$ cd CFA-Lambtown

Then execute:

$ bundle

This will install the gemfiles that have already been included in the gem file.

Clone the directory onto local drive. CD into the directory. Then execute:

$ rails s

In browser navigate to:

localhost:3000

Solution

User Sign In (OmniAuth - Facebook included): Imgur

Blog Posts: Imgur

One particular blog post: Imgur

Contact form: Imgur

Challenges

Overall the functionality of the app is working without any bugs - however it is quite simple and does only a few things! Designing while creating the logic is tricky for me at the moment as I find it hard to finish projects in time if I focus on them both and hence I only focused on the functionality on this project and that is why the design looks sub-par!

That's it for now folks!

About

A project to resemble a blog so we could practise Rails and to learn how to integrate some common functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published