“Environment Ecommerce” as the name suggests is about providing various kinds of environmental services. It will automate the task of finding providers (or workers who will perform those services) as well as of collecting funds through a web-application.
People facing a certain environmental issue in their locality just need to login to the application and raise a service.
Django is the basic requirement for the project
All the requirements can be found in requirements.txt
in the project root folder and can be installed with pip3 install -r requirements.txt
. pip
in required for the same.
To Run the project: Use python manage.py runserver
Refer ppt here for this.
The project strictly follows Django Architecture. Use this tutorial to get a basic idea of Django.
There are 2 Django Apps in the project:
- users - Handles the profile of users in the application and other login features. This uses Django users model.
- feed - Handles the user feed in the application for all services. The code for database can be found out in models.py of feed application.
HTML files can be found in templates folder of feed application which handles all the user interface for the application.
urls.py contains all the urls in the web-application and the corresponding controller methods.
views.py contains all the class view controller methods for the feed application.
forms.py contains all the customised forms which are used at various places(login/registeration, service creation etc) in the application.