Skip to content

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.

Notifications You must be signed in to change notification settings

jcy2704/inventory

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks