Content
@
0 reply
0 recast
2 reactions
Vikas Joshi
@vicky2604-
🌟Learning Django as a MERN Stack Developer🌟 I decided to learn Django because I’ve seen many job postings asking for React with Django. As a MERN stack developer, I found Django not too challenging to pick up. * Models in Django are similar to MongoDB models in the MERN stack, as they define the structure of your data, but Django works with SQL databases (like SQLite or PostgreSQL). * Django REST Framework (DRF) URLs are like the routes in Express.js — both define API endpoints to handle requests. * Views in Django are equivalent to controllers in MERN, where both handle the incoming requests, business logic, and return responses. I built a blog posting app using Django REST framework. Here’s what I implemented: * User Registration: Users can sign up and receive JWT tokens for authentication. * Notes CRUD: Users can create, list, and delete notes, with each note linked to the user. * JWT Authentication: Secure access to the app using JWT tokens. https://github.com/vicky262600/django-practice
0 reply
0 recast
0 reaction