Skip to content

sowmyadsl/photoshoot-rails

Repository files navigation

Grace Photography

This is a ruby on rails application built for a photographer who locally captures beautiful pictures and shares her services throughout Oregon.

By Sowmya Dinavahi

Landing Page:

screenshot

Description:

This application is build in consideration with users(customers) and grace(photographer ie. admin).These roles includes user authentication using Device gem.

'User' role can :

  • Create an account
  • Login/Logout of their account.
  • Edit their account information.
  • View information about services offered
  • View detail information on services offered with price information.
  • View about and contact info about the photographer.
  • Add reviews to the services (only if logged in)

'Admin' role can :

  • Add, edit and delete services.
  • Delete Unnecessary and inappropriate reviews.

Note: Admin information is seeded into database.

Usage

You can log in using the credentials provided below, or sign up with your own information.

Type Email Password
Basic user@email.com password
Admin admin@admin.com password

Testing

This application is tested using rspec. 100% of the application is successfully covered according to simplecov

Prerequisites

You will need the following things properly installed on your computer.

Installation

In your terminal:

  • git clone https://github.com/sowmyadsl/photoshoot-rails
  • cd photoshoot-rails
  • Ensure you are running Ruby 2.4.1 and Rails 5.1.2 versions or later.
  • bundle install
  • Open another terminal window and type postgres. Leave this window open.
  • In your first terminal window type:
  • bundle exec rake db:create
  • bundle exec rake db:setup
  • bundle exec rake db:test:prepare

Development server

Run bundle exec rails s for a dev server. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files.

Running tests

This app includes unit and integration testing using RSpec, Factory girl, Shouldamatchers, and Capybara for testing. Run bundle exec rspec in terminal to test.

Technologies Used

  • Ruby
  • Rails
  • ActiveRecord
  • Postgres
  • Bundler
  • Rake Gem
  • Devise Gem
  • Rspec
  • HTML
  • CSS
  • Bootstrap
  • ES6

Known Bugs

N/A

Support and contact details

Feel free to contact me at sowmya.dsl@gmail.com

License

This software is licensed under the MIT license Copyright © 2017 Sowmya Dinavahi

About

Rails app using devise for user authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published