AmerGong / products

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

products

Build Status codecov

Repo for the products team or NYU DevOps 2021 summer

Prerequisite Installation using Vagrant VM

Initiating a development environment requires Vagrant and VirtualBox. if you don't have this software the first step is down download and install it.

Download VirtualBox

Download Vagrant

Then all you have to do is clone this repo and invoke vagrant to start:

  $ git clone https://github.com/Devops-2020-Products/products
  $ cd products
  $ vagrant up
  $ vagrant ssh
  $ cd /vagrant
    ...

Structure of the repo

├── service
│   ├── models.py
│   └── routes.py
├── tests
│   ├── factories.py
│   ├── test_models.py
│   └── test_routes.py

Database Fields

Fields Type Description
id String ID
name String Product Name
description String Product Description
price Float Product Price
inventory Int Product Amount
Owner String OwnerID
Category String Product Category

Vagrant shutdown

When you are done, you should exit the virtual machine and shut down the vm with:

 $ exit
 $ vagrant halt

If the VM is no longer needed you can remove it with:

 $ vagrant destroy

About

License:Apache License 2.0


Languages

Language:Python 70.7%Language:JavaScript 9.2%Language:Ruby 6.7%Language:HTML 6.6%Language:Gherkin 6.2%Language:Mako 0.5%