0% found this document useful (0 votes)
11 views2 pages

Assignment For Backend Developer Internship - Merjo Innovation Labs

Uploaded by

Shivam jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Assignment For Backend Developer Internship - Merjo Innovation Labs

Uploaded by

Shivam jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment for Django Internship

Tasks at Hand

1. Create a Django project with a two apps (blog and users)

2. Create an Authentication system for users to login and logout using JWT
a. You're not allowed to use any third party library for JWT authentication like
djangorestframework-simplejwt, djangorestframework-jwt, etc.
b. You can use any library to generate JWT token like pyjwt, etc.
c. If you're not familiar with JWT, read about it here

3. Design a model for blog posts with the following fields:


a. Title
b. Content
c. Author (User)
d. Created At
e. Updated At

4. A blog post can have multiple comments. Design a model for comments with the
following fields:
a. Content
b. Author (User)
c. Created At
d. Updated At

5. Create an API to create a blog post. Only authenticated users should be able to create a blog
post.

6. Create an API to create a comment on a blog post. Only authenticated users should be able
to create a comment.

7. Create an API to list all blog posts. Anyone should be able to access this API.

8. Create an API to list all comments on a blog post. Anyone should be able to access this API.

9. Create an API to update a blog post. Only the author of the blog post should be able to
update it.

Note:
1. Please create a new branch for your solution and create a pull request to merge it with the
master branch.
2. Please add a README.md file with instructions to run your project.
3. Please add a requirements.txt file with all the dependencies of your project.
4. Please use sqlite as the database for your project.
5. Please use Django 4.0 or above for your project.

Deadline: Assignment Deadline 24th August 23:59 Hours


Selection: FIFO (first in first out) the quicker the better chances of selection.

You might also like