Skip to content

dev-kanishk/mongo-db-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django-mongodb-mysql

IMP Link - https://fernandorodrigues.pro/creating-a-rest-apiwebservice-with-django-rest-framework-and-mongo-mongoengine-using-python-3/

Create a Database With Name testdb in MongoDB

For Now we are uing sqlite3 for authentication

in virtualenv

pip install - requirements.txt

http://localhost:8000/chatbox/

{
"title": "Chatbox1"
}

Refresh

http://localhost:8000/chatbox/<chatbox_ID_here>/

{
"title": "Chatbox11"
}

Refresh

http://localhost:8000/chatbox/<chatbox_ID_here>/component-add/

{
"name":"Component1",
"questions":["Question1", "Question2"],
"response_type":"DAT"
}

Try to implement this http://localhost:8000/chatbox/<chatbox_id>/component/<component_id>/

Where we want to update and Delete ListField of Embedded Document. Lets say we want to update data of component which we have added using this http://localhost:8000/chatbox/<chatbox_ID_here>/component-add/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published