tomjones / product-portal

Single page inventory manager for client. Functionality: check in a product, update product warehouse location, check out product, get a generated barcode and print for product.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Product Portal

Single page inventory manager for client seeking a solution to manage their warehouse organization.

Current functionality:

  • check in a product with name, lot number, weight (kg), and shelf location
  • update product warehouse shelf location
  • check out product
  • get a generated barcode and print for product

Deployment

To deploy this project run these commands at the top level:

  bundle istall
  rails db:migrate
  rails db:seed

Run these commands at the client folder level:

  npm install

Once you have downloaded all the necessary gems and packages, at the top level run this command to start server:

  rails s

Then run this command at the client folder level:

  npm start

There is a Procfile included with this project to run the backend and frontend simultaneously once all packages and gems have been installed:

  foreman start -f Procfile.dev

Demo

Video

Included Libraries

sudo service postgresql start

step by step, i hope this makes sense bc i am finishing up my lunch break now! add the new object with part number and description to unileverPartNumbers array in client/src/products_table.js delete the files that are currently in the public folder (should include a folder called static and some pngs and a few other files) in terminal cd into the client folder. from the terminal in the client folder, run command npm run build which will dump the compiled code into client/build folder move the content of the client/build folder to the public folder cd out of the client folder and back to the top level of the application. run rails s in the terminal, this starts up the rails server using the generated code from the public folder and you should be able to see your changes live should be good to deploy!

About

Single page inventory manager for client. Functionality: check in a product, update product warehouse location, check out product, get a generated barcode and print for product.


Languages

Language:C 69.1%Language:Perl 17.3%Language:Makefile 6.5%Language:Assembly 6.1%Language:Shell 0.3%Language:JavaScript 0.2%Language:C++ 0.2%Language:M4 0.1%Language:Ruby 0.1%Language:eC 0.0%Language:Emacs Lisp 0.0%Language:DIGITAL Command Language 0.0%Language:CSS 0.0%Language:HTML 0.0%Language:Python 0.0%Language:Module Management System 0.0%Language:sed 0.0%