Page 1 of 1

Django/ESP32

Posted: Tue Jun 30, 2020 6:22 pm
by limnadiallo
Hello everyone, I discovered ESP32 while working on a django project, basically we have to create a django REST API and try to run it on the ESP32 but i never did this before, so i'd like to know if it is possible (i guess it is) but how? Does someone have an idea??? I need help please!!! Thanks!!!

Re: Django/ESP32

Posted: Wed Jul 01, 2020 10:39 am
by PeterR
Would you clarify....
You need a django api running on the ESP? Would not any RESTful api on the ESP work? Why not?
Do you really mean that you want to access a django api from the ESP?

There is nothing special about django from the Ethernet view. Its all HTTP presented in a nice RESTful way. As you know django is a cool framework and simply gives you the means to create a RESTful api quickly.
If your api is relatively small then you might find it quicker to hard code the end points.
MicroPython runs on ESP32 but I doubt that you will get django running; way to many libraries I would bet.
Would be interested if you did though.