Skip to content

gregoryjflaherty/shopify_intern_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

86 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

image

INVENTORY APP

This application was built as a requirement for an open internship position (Backend Developer) at image. This application was submitted on May 18th, 2022 and will be simultaneously hosted on Replit for convenience - Found Here. This README will provide further information on how to use this application, how this application was built and further information about the author

Table of Contents

USING THIS APPLICATION

1️⃣ Fork and clone this repo

2️⃣ Install gems locally via bundle install from CL

3️⃣ Reset database via rails db:{drop,create,migrate,seed} from CL

4️⃣ Start server via rails s from CL

5️⃣ Manuever the site as you wish

6️⃣ (Optional) Run bundle exec rspec from CL to run the entire test suite

7️⃣ (Optional) Run open/coverage index.html from CL to see coverage by line

FUNCTIONALITY

This application accomplishes the basic CRUD functionality

CREATE

Screen Shot 2022-05-17 at 9 59 47 PM

READ

Screen Shot 2022-05-17 at 10 00 56 PM

UPDATE

Screen Shot 2022-05-17 at 10 02 55 PM Screen Shot 2022-05-17 at 10 03 38 PM

DESTROY

Screen Shot 2022-05-17 at 10 07 29 PM

FUN TIP

Try entering blank information or other ways to break the application to see what happens ! 😜

DATABASE

This application uses a relational database. There are two tables in total - items and warehouse. Items belong to a warehouse while a warehouse has many items (one to many relationship). See below for a representation of the database schema :

Screen Shot 2022-05-17 at 9 54 11 PM

TESTING

This application was thoroughly testing using Rspec, SimpleCov, Capybara and Shoulda Matchers. Test coverage was held in high priority and can be seen in detail by following the following steps:

1️⃣ Run bundle exec rspec from CL to run the entire test suite

Screen Shot 2022-05-18 at 12 16 07 PM


2️⃣ Run open/coverage index.html from CL to see coverage by line

Screen Shot 2022-05-18 at 12 17 45 PM


All testing files can be found the Spec folder displayed by the following file tree:

Screen Shot 2022-05-18 at 12 19 27 PM

WORKFLOW

Professional work flow using and image were replicated as closely as possible. Specific tools and aspects were used while building this application that lended to organization, communication and developer empathy.

GITHUB PROJECT BOARDS

Screen Shot 2022-05-17 at 10 23 16 PM Screen Shot 2022-05-17 at 10 05 48 AM

LINKED ISSUES/PULL REQUESTS

Screen Shot 2022-05-17 at 10 28 25 PM

AUTHOR

If any ideas for improvement, any errors are seen, or if you are interested in building something in the future, please feel free to contact me directly via any of the below avenues:

Linkedin Badge Gmail Badge

github-readme-twitter

BUILT WITH

Ruby version 2.7.4

Rails version 5.2.7

Hosted on Replit
Found Here

πŸ’Ž Additional Gems πŸ’Ž

Capybara | Shoulda Matchers | SimpleCov | Faker |

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published