Git Product home page Git Product logo

jcy2704 / inventory Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 1.64 MB

Manage huge inventory and sales with Inventory Transactions. PostgreSQL database implemented to handle your inventory as well as sales. Built with Ruby and its framework Ruby On Rails.

Home Page: http://inventory-transactions.herokuapp.com

Ruby 68.59% JavaScript 3.68% HTML 18.09% SCSS 9.65%
rails ruby ruby-on-rails postgresql heroku-deployment capstone sass rspec-rails capybara-rspec toastr-notifications

inventory's Introduction

Inventory Transactions

Project created by Steven Jack Chung
Project created based on Ruby On Rails Capstone.
Design Idea by Gregoire Vella on Behance

‎ ‎ ‎ ‎

Inventory Transactions

Table of Contents

About Inventory Transactions

Inventory Transactions is a web app aimed for business who manage a great amount of products. It not only manages the inventory, but it is used as a sale point to make transactions/sales.

Main Features

We thought of many features a business may require to manage a good inventory as well as the sales.

Inventory

The Inventory Feature is the main feature, where the users/employees will be using to add the products they want to manage. The Products will be divided into groups so it will be easier to manage and look for specific product.

Roles

The main features for the Owner is the Admin Role feature.

The Owner have the permissions to everything. The main characteristic of this role is to add new users(employees or admins) to the system so each user will be able to take score on their sales as well as managing them.

The Employee Role is as the title says, just for the employees. Users with this role will only be able to create new groups, add new products, and manage their sales.

Cart and Sales

I implemented the Cart Feature so the users can be able to manage their sales with ease.

The Cart will, of course, maintain track of the products that a client will buy. The user can add or decrease the quantity of the items as the client desires.

Built With

Live Demo

Inventory Transactions

💻 Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Install Ruby: 2.7.0

Install Rails: 6.0.3.4

Install Postgres: >=9.5

Setup

Instal gems with:

bundle install

Setup database with:

   rails db:create
   rails db:migrate

Usage

Start server with:

    rails server

Open http://localhost:3000/ in your browser.

Run tests

    rpsec --format doc --seed 26900

Deployment

In order to deploy this app to Heroku follow the steps below

Install the Heroku CLI

After that type the command to create the app and add the heroku repository to your project

    heroku create

Then deploy the app.

    git push heroku {your-branch}:master

Change {your-branch} for the name of your local branch

For example:

    git push heroku inventory:master

If you are deploying from the master branch you can just push with just master.

    git push heroku master

Follow the instructions on your terminal to get the URL where your app was deployed

Finally run the command to create your database and tables on Heroku's server

    heroku run rails db:migrate

Author

👤 Steven Jack Chung

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to Gregoire Vella in their desgin for Snapscan

📝 Credits and Licenses

This work "Inventory Transactions", is a derivative of "Snapscan" by Gregoire Vella, used under CC BY-NC 4.0.

"Inventory Transactions" is licensed under CC BY-NC 4.0 by Steven Jack Chung.

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.