C3P4
Every product manufactured leads to carbon emissions.
PROBLEM STATEMENT - Online Platform for apartment complexes, where apartment members can share products with other fellow residents(for example - screwdriver, hammer..) residents can request items , use it and then return it back. As the platform will make it transparent on who took what things, people will have to return it.
Presenting the "STAY TOGETHER, GROW TOGETHER" - an online interactive platform.
A platform where we believe that Sharing leads to a greener world. A user can share products for a particular period of time. Any resident who requires a product can make request by providing the detail of the product. Al the registered users will receive a notification of the request made. If any resident member has that requested equipment and if they agree to share their equipment, they can click on the check box and notify that they can share that product. The user who had made request can now approach the resident and take the product, use it and then return to the owner. In this way without using the multiple products, residents can manage to do their work and with less demand, less products will be manufactured, which in turn lead to less carbon emission.
- To use this site following are the steps, a resident member has to follow and can take the advantage of this interface thus a contributive step to control carbon emission:
- Click on the link -
- If you are a new resident or a new user, you can click on 'Register' and then create a new acccount on our site.
- Provide the required personal information like Name, Address, Phone number etc and create a Password.
- Once registered, you can login.
- Now, if you need a product/ equipment - click on 'Make a request of product'.
- After that you will be directed to a new page where you have to enter the details to make request.
- Once the request is made, all the registered residents will be notified about the request.
- If any resident has that product and can lend him/her, then they can 'Respond to that request'.
- The user can join the group of his society by just typing the name of the society in join group option.
- The request will be made and the admin of the group can then accept the request.
- The user can himself create a group for his society and add members of the society.
- There is a comment section available below the request for any queries, for the interaction of members.
- As soon as the request is accepted the users can contact each other through phone number.
- Also, only the specific members of that group can see the requests which is made by the member of the same group. The request of a group is not visible to other members of group.
- If any user reponds to the request of a member, then this data is availbale and users can view this in the section - 'your requests' and 'borrowed history'.
- The admins can add memberes, or delete members.
- The user requesting the product have to mention when he want he product and when will he return it.
Suppose If you want ex. a hammer then instead of buying you can borrow it from your neighbor the. So we made a portal for it contains user is associated with a group that contains other society members and group admin who can decide who's a join request to accept. If the user wants a hammer then she/he will make a request for it and if any of the group members have that thing she/he will comment down there or click on the have this. And it will user who made the request will see all the user who and then text any one of them by choice By make complex relations between the users, groups give me a lot of understanding of Django models and how to use them effectively with less time-consuming. And how to use Django view effectively and model manager and give me a brief understanding of OPPS in python
- First, clone the repository to your local machine:
git clone https://github.com/samirpatil2000/HackathonProject.git
- Create & Activate Virtual Environment For Windows
py -m venv env
.\env\Scripts\activate
- Create & Activate Virtual Environment For MacOs/Linux
python3 -m venv env
source env/bin/activate
- Install the requirements:
pip install -r requirements.txt
- Create the database:
python manage.py makemigrations
python manage.py migrate
- Finally, run the development server:
python manage.py runserver
The project will be available at 127.0.0.1:8000.
- Prevented From Vertical and Horizontal Privileged Escalation
- Samir Patil
- Srishti Sharma
- Ashish Kumar
- Nitin Chiliveri