Water-Monitoring-System icon indicating copy to clipboard operation
Water-Monitoring-System copied to clipboard

Add API endpoints for hardware models.

Open PragatiVerma18 opened this issue 4 years ago • 6 comments

Is your feature request related to a problem? Please describe. Add API endpoints i.e URLs for accessing the hardware API existing in feature/backend-django branch.

Keep in mind:

  • Changes are to be made in urls.py
  • Changes are to be pushed in feature/backend-django branch and not in master branch
  • Pre-requisite: Knowledge of Django and Django Rest Framework

PragatiVerma18 avatar Mar 18 '20 14:03 PragatiVerma18

I can do this please assign me. I have understand the hardware but please tell elaborately what to do?

ayan-biswas0412 avatar Mar 22 '20 14:03 ayan-biswas0412

Is your feature request related to a problem? Please describe. Add API endpoints i.e URLs for accessing the hardware API existing in feature/backend-django branch.

Keep in mind:

* Changes are to be made in [urls.py](https://github.com/vinitshahdeo/Water-Monitoring-System/blob/feature/backend-django/water_monitoring_system/water_monitoring_system/hardware/urls.py)

* Changes are to be pushed in `feature/backend-django` branch and not in master branch

* **Pre-requisite**: Knowledge of **Django** and **Django Rest Framework**

what actually i have to do in this ? @PragatiVerma18

ayan-biswas0412 avatar Mar 22 '20 14:03 ayan-biswas0412

I am interested in it. Please assign it to me.

I have understand the hardware app but I could noe found any existsing views to which I can map to an url.

Mit-Patel avatar Mar 22 '20 16:03 Mit-Patel

@Mit-Patel either use Django Rest Framework to create APIViews/Viewsets or else create a pure Django API where you have to create the views too on your own.

PragatiVerma18 avatar Mar 30 '20 18:03 PragatiVerma18

@PragatiVerma18 I have experience in Django Rest Framework. Do we have to create API endpoints for Hardware model (GET, POST, PUT)?

msk4862 avatar Apr 02 '20 17:04 msk4862

@msk4862 you may work on this issue. Try completing the task as early as possible.

PragatiVerma18 avatar Apr 14 '20 11:04 PragatiVerma18