Skip to content

Latest commit

 

History

History
153 lines (118 loc) · 7.4 KB

readme.md

File metadata and controls

153 lines (118 loc) · 7.4 KB

Cluboard (formerly InvManage)

A Full-Stack Web Application to facilitate sharing resources in college clubs. Clubs have resources that any of their members can borrow upon request. Members can borrow resources when approved by the convener of the club.

Three roles exist, namely, Admin, Convenor and Member.

  • Admin - Can give roles and add new clubs & members
  • Members - Can request for resources following a request-approval flow
  • Convener - Can approve/reject member requests, update the club inventory

The roles and their respective permissions can, however, be extended. Each user can be a part of multiple clubs and exercise different roles in each of them. All this is made possible by a custom role-permission framework.

It also supports email notifications to different stakeholders and useful aggregations from available data, as statistics, on the user's dashboard.

Table of Contents

  1. Demos
  2. Tech Stack
  3. Contributing
  4. Installation Guide
  5. Sample Git Workflow
  6. Implemented Features
  7. References

Demos

Member and Convenor Demo

Member.Convenor.Demo.mp4

Admin Demo

Admin.Demo.mp4

Tech Stack

Python HTML CSS Javascript Bootstrap Chart.js SQLite3

Contributing

Code Of Conduct

Please read and abide by our Code of Conduct; our community aspires to be a respectful place both during online and in-person interactions.

Installation Guide

Using Git and Github

  • Fork the repo
  • Clone the forked repository
  • Enter the new Inventory_Management directory with cd Inventory_Management
  • Set the upstream remote to the original repository url so that git knows where to fetch updates from in future: git remote add upstream https://github.com/mittal-parth/Inventory-Management-Django.git

Virtual Environment

  • pip install virtualenvwrapper-win
  • mkvirtualenv test   test = name of virtual env

Install required packages:

  • pip install -r requirements.txt
  • After ensuring that we are in a virtual environment (If not, use workon test)

To run project:

  • python manage.py makemigrations
  • python manage.py migrate
  • python manage.py runserver
  • Visit development server at http://127.0.0.1:8000

Create Super user:

  • python manage.py createsuperuser
  • Enter desired credentials

To see emailing features

Sample Git Workflow

  • Follow the installation guide to install the software
  • Create a new feature branch with git checkout -b <name-of-your-feature-branch>
  • Make changes and commit them in the feature branch.
  • Once done developing, switch back to the main branch with git checkout main ; pull the latest version of the repo with git pull https://github.com/mittal-parth/Inventory-Management-Django.git main
  • Switch back to the feature branch with git checkout <name-of-your-feature-branch>. Apply the new changes on top of the latest version of the repo with git rebase main
  • Resolve merge conflicts (if any)
  • Push your feature branch upto your remote repo with git push origin <name-of-your-feature-branch>
  • Submit a Pull Request to the main branch.
  • After any questions or changes have been resolved, your contribution would be merged in!

Admin Site:

http://127.0.0.1:8000/admin


Implemented Features

  • Member
    • View club items
    • Request for items
    • View request status
    • View statistics about their requests
  • Convenor
    • View all members of club
    • View club items
    • Add, Update items
    • View member requests
    • Approve/Reject requests
    • Validation of quantity of requested item
    • View statistics pertaining to the club
  • Admin
    • View all clubs, users, items and requests
    • Add new club(s)
    • Add, Update items
    • Add new user or existing users to clubs
    • Delete users
  • Authentication and page restrictions
  • Reset, Change Password
  • Email respective users about request flow


References:

Django's Official Documentation
Chart.js Official Documentation
Dennis Ivy Youtube
Super Coders Youtube
Stack Overflow