Coder Social home page Coder Social logo

inventory-l7's Introduction

## Inventory App Description ##
This project contains a web application that allows an organization to perform CRUD operations on an inventory database. The instructions contained in this document will allow the user to install the application onto a server, but in order to run in a production environment, a middleware service such as Apache/ModWSGI or Nginx/Gunicorn should be used.
In addition to the specified functionality, this web app is well-positioned to connect to an ordering service. Since we already know the supplier, current inventory quantity, and the minimum quantity, we can place an order for the widget to the supplier when the quantity drops below the minimum.


## Browsable API ##
This web service was built using Django REST Framework and includes a browsable API located at the project's root URL. Users can view each table in the schema as JSON and perform CRUD operations. These operations can also be performed using an HTTP client such as Postman. Additionaly, a full detail view has been provided that displays inter-table relationships as nested JSON.

## Table Page ##
By navigating to the /table endpoint in a browser, users can view inventory data as a single table (up to 50 records).


## GitHub Repository Link ##
https://github.com/kowabunga314/Inventory-L7.git


## Inventory App Requirements ##
- Python 3.7
	- virtualenv
- Git
- Sqlite


## Command Line Installation Instructions ##
1. Create a folder to hold project and navigate into it
	> mkdir inventory
	> cd inventory
2. Clone project into folder
	> git clone https://github.com/kowabunga314/Inventory-L7.git
3. Ensure virtualenv is installed
	> pip install virtualenv
4. Create virtual environment next to the project
	> mkdir venv
	> virtualenv venv/Inventory-L7
5. Activate virtual environment
	> source venv/Inventory-L7/bin/activate
6. Navigate into project directory
	> cd Inventory-L7
7. Install project dependencies
	> pip install -r requirements.txt
8. Migrate Django database files to sqlite database
	> python manage.py migrate
9. Start Django server
	> python manage.py runserver 127.0.0.1:8000
9.5. Running server on a different address
	- add your server's hostname or IP to ALLOWED_HOSTS in Inventory/settings.py
	- replace the home IP in the run command with your server's hostname


inventory-l7's People

Contributors

kowabunga314 avatar

Watchers

 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.