Giter Site home page Giter Site logo

jennantilla / stockit Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 411 KB

Inventory tracking app that catalogues item image, category, quantity, and expiration date.

Home Page: https://stockit-webapp.herokuapp.com/

Ruby 76.04% JavaScript 4.81% CSS 1.30% SCSS 2.42% HTML 15.44%

stockit's Introduction

Stockit

Stockit allows you to track inventories of supplies, collectibles, etc. with increased accuracy and visibility. Search your collection by item name and document images, category, quantity, and expiration dates.

Prerequisites

This app was built with Ruby 2.7 & Rails 6.0.3. Both need to be installed to run this program.

Set Up

  1. From the command line, set up a new directory on your machine:

    $ mkdir stockit

    $ cd stockit

  2. Clone the github repository

    $ git clone https://github.com/jennantilla/stockit.git

  3. Create and setup the database

    $ bundle exec rake db:create

    $ bundle exec rake db:setup

  4. Run the Rails server

    $ rails server

  5. Navigate your browser to http://localhost:3000 to view the app

App Features

Secure User Login

Stockit's User model was implemented with the Devise gem. This allows for secure user account creation and management.

ActiveStorage Images

Stockit allows users to upload and store images in their inventories. This functionality is impelemented with Active Storage, which comes built-in with Rails 5.2+. To add Active Storage tables to your database, simply run:

$ rails active_storage:install
$ rake db:migrate

Also make sure to update your related model(s) with a has_one_attached :img and add :img to your strong parameters in your controller(s).

Search

Stockit has a simple search bar that allows a user to search their inventory by item name. It is implemented with a class method: def self.search(search) on the Inventory model.

stockit's People

Contributors

jennantilla avatar

Watchers

 avatar  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.