Frontend - Backend Assignment
Frontend - Backend Assignment
Task
● You will be creating a dynamic web app in ReactJS like the image
below. You need to use MySQL database and django rest
framework as backend.
● NOTE: Your application will not be considered if any other tech stack
is used. Do not use Node/Express etc for backend.
● The app should have register and login page for users
● Users should be able to like and unlike the event by clicking on the
‘heart’ symbol.
● Users should be able to add new events: event name, date, time,
location and image.
HELP BOX
Create a table with fields as (‘event_name’, ’data’ ,’time’, ‘location’
,’image’, ‘is_liked’, ‘user_id’).
By default, is_liked is false.
Create a form to add a new event/entry to the database for the
specific user
● If the event is liked, the heart should be colored red, else white (for
each user you need to store the likes corresponding to the event in
the DB).
● There should be 2 tabs at top:
○ Global: Where all events created by any user are visible
○ User Specifc: Only events created by the current logged in user
should be visible (If no user is logged in, this tab should not be
visible)
● Add proper comments to the code for clear understanding of the
evaluator
Deadline
● 17th March, 2024, Sunday, 6:00 PM.
Submission format
● Create a github repo, and add your code to it. In the readme
add screenshots of the UI that you have created.
● Fill your repo link in the form
https://forms.gle/GnRTe7pdBhshiwns7