Skip to content

Rohan12152001/Inventory_Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I have used the Flask framework & MySQL as the database

Assumptions:

  1. I have assumed that only a single manager is handling the access requests of equipments.

How to configure the project on your Machine

  1. Clone the project

  2. Install the dependencies from requirements.txt

  3. Create a MySQL database on your machine & edit the configurations.py file with the respective values of (host, database, user, password)

  4. Also configure the secretKey for flask in configuration.py

  5. Now, to create all the tables & insert some minimum data run the migrate.py file.

  6. What does the migrate.py file do ?

    It will create four tables namely (equipments, employee, manager, requestQueue) & insert some data

    Equipments has [Motherboard(P1), Keyboard(P2), Mouse(P3)]

    Employee has [Rohan(E1), Akash(E2), Sagar(E3)]

    Manager has [Paresh(M1)]

    requestQueue is Empty [This table is used as a queue for keeping a track of the access requests from the employees]

    To know know more about the tables please check out the migrate.py file.

  7. Now we are ready to start the server

    Run the command python apis.py to run the server on port 5000

  8. Basically the app takes you to the home page of employees where in one can ask for access of the equipment OR return an equipment..

  9. And, the manager page link is mentioned on the Home page where in a manager can see the list of issued/available equipments & a list of access requests from the employees.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published