An API for the Stock Section of the Malviya Bhawan Mess of IIT ROORKEE , using Django Rest Framework
- Clone the files in a directory. $ git clone https://github.com/vikitripathi/MessStock
- Setup the virtual environment. $ virtualenv env
- Activate the env $ source /env/bin/activate
- Run the pip install script $ pip install -r requirements.txt
- Run the server $ python manage.py runserver
- Open http://localhost:8000/admin/
- The default username: dutt and password: dutt
- List of the Stock Items: http://localhost:8000/StockAPI/item/
- List of the Transactions: http://localhost:8000/StockAPI/transaction/