x 13118706 Artur Janka Project Presentation

Post on 08-Jan-2017

68 views 5 download

transcript

Project NameStudent name Artur Janka

Date of the Presentation9th of August 2016

Introduction My name is Artur Janka. I’m student of Higher Diploma in Science in Cloud Computing at

NCIRL. I’m a new Rubyist user as everything is much easier to create. I have a hunger for acquiring a new knowledge in every aspect

and I find it interesting. So, my pathway look like this for now:

Introduction The purpose of this document is to set

out the requirements for the development of Indoor beach volleyball& soccer club with eCommerce site.

As we know one of the most common and essential scenarios for business is e-commerce.

Introduction I choose the e-commerce at this stage

because this is essential part of business site which have no geographical limits and it continues to gain more supporters and constantly growing.

It is not only the way of buying things but of selling them as well.

So, I decide connect ecommerce with subject I like and have experience the most.

Introduction install rails environment

rails install gem create rails application

rails new artvballecommerce Start server

cd artvballecommerce rails server rails server -b $IP -p $PORT

Introduction Next go to your localhost:3000 and you

should see

Introduction Create your navigation site & product

site rails g controller Pages about contact rental gallery blog rails g scaffold Listing name description:text price:decimal

Introduction set up roots, so go to bash and type

‘rake routes’ first.

get '/home' => 'pages#home' get '/about' => 'pages#about' get '/contact' => 'pages#contact' get '/gallery' => 'pages#gallery‘

root 'listings#index'

Introduction set up gemfile for our application

Introduction The intended customers are players of

the volleyball teams who want join for the game or a new player which is intend to join club,

The customers who want to buy a volleyballs product.

Introduction First problem occur with devise gem in

which I follow instruction on github I decide to put username into registration form

Introduction Second problem with avatar name which should

be change to image.

IntroductionThird issue arise during migration project to Heroku

Goals1. I have changed ‘permit’ to ‘for’devise_parameter_sanitizer.for(:sign_up) << :usernameAnd registration form start working fine without issue.2. avatar name which has been changed to image.3. Unfortunately I did not resolve this issue yet.

Introduction During planning which project I could

choose I realize as my inspiration from youth age was always volleyball.

I’m involved in this sport even today and I use to play in tournament inside hall or during summer time on the beach.

Introduction I was tried to achieve to create and image

of the sport company with e –commerce site.

Present service with contact email which should working fine without issue.

Use a new skills and knowledge in a practical setting.

Introduction The first step is to setup development

and testing environments according to the chosen technologies.

The second step is developing service that allow customer to send different requests. These requests are to allowing customer to register to site with ability to buy any product available on site.

Introduction The third step is developing customer

applications for sending email, chatting and allow to join to club and participate into volleyball game.

Central theories The technical approach is developing an

indoor beach volleyball centre with marketplace&social blog web-based application hosted on a Cloud platform Heroku.

Language: Ruby2, Ruby on Rails4/5 Technologies: Git, GitHub, Heroku Web Development: HTML5, CSS3,

JavaScript and JQuery Application: Cloud9

Central theories Operating System: Windows 8, Linux,

Ubuntu Database: SQLite, PostgreSQL Nitrous – no installation required, start

coding in our cloud IDE in sec Subline text – is a sophisticated text

editor for code, markup and prose. The slick user interface, extraordinary features and amazing performance.

Central theoriesTOOLS WE HAD TO KNOW AND USE: The command line Ruby Ruby gems Bundler Rake Git Heroku DNS records

Central theories Help and documentation for the Ruby programming

languagehttp://ruby-doc.org/http://documenting-ruby.org/https://www.ruby-lang.org/en/

These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces for together.

http://guides.rubyonrails.org/ Free Ruby on Rails Screencastshttp://railscasts.com/ Ruby on Rails tutorial – learn Web Development with Rails

book and screencast by Michael Hartl

Central theorieshttps://www.railstutorial.org/book Learn-rails.com ‘Learn Ruby on Rails’ tutorial by

Daniel Kehoehttps://updatey.com/media/uploads/projects/posts/files/jmif3s8lar4uaf67j2ni.pdf A gem for every occasion: 11 great Rails libraries

we use on every projecthttps://infinum.co/the-capsized-eight/articles/a-gem-for-every-occasion-11-great-ruby-libraries-we-use-on-every-project Learning to build a modern web application is

daunting. Ruby on Rails makes it much easier and more fun… with the support of our large, friendly community.

http://rubyonrails.org/

SystemArchitecture

Design

Design

ImplementationMain classes: User Listing(product) Cart Cart_item Order Order_item Order_form Admin_user

Implementation First level navigation and all sitemap should be

working fine with easy access to registration form and log in. Administration portal and dashboard should let the admin to easy works across all pages and manage ecommerce modules.

The scope of this plan is to test all functionality covered in the requirements specification.

The system being tested is a volleyball club with ecommerce site allowed customers for buying volleyball products.

Implementation The new registration can be created by a new

customer-user. After registration the new user can edit his profile, check navigation bar without issue, make review of products. The user can add the items into basket – items and if he/she change a mind can easily remove all items from basket as we.

The user has ability to purchase product typing into the site form his address and make a payment.

The customer can also make the reservation and book the volleyball area for playing game.

ImplementationProject Name: Artorius inside beach volleyball club

and ecommerce Artur Janka

Module Name: numbers of test case 29/07/2016

Release Version: #

#Test Case number Test Title Test Data Expected Result Actual Result

test case 1: Testing the Registration form 29/07/2016

Registration form is displayed and after full the form with valid data customer receive message successful registration

PASS

test case 2: Testing the Log in and Log outof the new customer 29/07/2016 If use valid email and password

the access to website is granted PASS

test case 3: Testing the new registered user Edit Profile 29/07/2016 Customer can easily make

changes into his profile PASS

test case 4:Testing Administration site withability to check users andpurchase via dashboard

29/07/2016The Admin has a right to log into dashbourd and manage customer and orders

PASS

test case 5: Testing the Home, Contact,About pages 29/07/2016

As expected the User has been brought to Navigation site without delay

PASS

test case 6:

Testing the ability for registeruser to add one or more itemsinto basket and review anddelete them

29/07/2016

As Expected application allowed the customer to add items into cart, to remove items from basket-cart and to add more items and detect the sum of price

PASS

test case 7: Product category page 29/07/2016

As expected. The application let the reg.customer to search product type and pick up any type of items

PASS

test case 8: Testing the ability of registeruser to make a purchase 29/07/2016 As expected pass PASS

test case 9: CRUD operation for reservationvolleyball court for play a game 29/07/2016 As expected pass PASS

Test Designed by:

Test Designed date: Test Executed by: Test Execution date:

ImplementationStep # Step Details Expected Results Actual Results Pass / Fail /

Not executed / Suspended

1 Navigate to the site Site should open As Expected. The application opened the site Pass

2 Sign up Enter valid Username & valid Email with valid Password

The application should display the home page and customer have a right to show items, add items to cart and make a payment

As Expected, the application should display ability for buying stuff. Login processed

Pass

3 Sign up with leaving empty username box

The application should display an error message and ask customer to enter username

As expected. Error message displayed FAIL

4 Sign up with leaving empty email box

The application should display an error message and ask customer to enter email for confirmation

As expected. Error message displayed FAIL

5 Sign up with leaving empty password box

The application should display an error message and ask customer to enter password for confirmation

As expected. Error message displayed FAIL

6 Sign up with leaving empty password box

The application should display an error message and ask customer to enter password for confirmation

As expected. Error message displayed FAIL

7 Sign up with email already taken

The application should display an error message and ask customer to enter a new email due old one was already taken

As expected. Error message displayed FAIL

8 Sign up with misspell password The application should display an error message and ask customer to type in the correct password duplicated in first box

As expected. Error message displayed FAIL

9 Sign up with short password The application should display an error message and ask customer to type in the proper long password

As expected. Error message displayed FAIL

9 Sign up with invalid partition of password

The application should display an error message and ask customer to type in the proper long password

As expected. Error message displayed FAIL

Evaluation During development the application I

decide add gem active_admin to let administrator to access and manage app data through ActiveAdmin, a Rails engine that runs ––separately from the core of your app to give you full control over your data.

I realize that I need email functionality so I added gem ‘mail_form’.

EvaluationAdditional of futures:

1. ActiveAdmin, - a Rails engine that runs ––separately from the core of your app to give you full control over your data.

2. Gem mail_form with sendgrid Heroku addons let me send message from my site to email without issue

DiscussionsAdvantages: I have created site where register user

have access to view volleyball products. He/she can check information about product.

Customer can add to cart(basket) many products he want and ability to make transaction. The register customer also have a right to remove items from basket.

DiscussionsDisadvantages

Order is not connect with any ability to make transaction. Unfortunately I did not have enough spare time to add gem stripe or PayPal functionality.

Ability to book the court by team is not finished I started with view html but again PayPal is not added.

DiscussionsOpportunities and limits

More interested for active people, addictive into sport.

My idea was to give opportunities to play a beach game inside club, warehouse in rainy days.

DiscussionsFuture perspectives Increase my future prospect of the volleyball

club careful planning challenging part and execution.

My contributions to the projects included researching of beach indoor volleyball club’s in Ireland upon learning that there are no any club’s around.

So, I have opportunity to create structure to help me with market and corporation with union institution to open such one in Dublin.

DemonstrationHome page

Discussions Home page part 2

Discussions Home page part 3

Discussions Hope page registration form part 4

Discussions About page

Discussions Contact page

Discussions Rental page

Discussions Products Sale Page

Discussions Show item and Add to Basket

Discussions Check and Checkout

Discussions Payment site