Web Development
Assignment
Summary:
You will be designing mini-project using any Javascript framework(React or Next.js Recommended)
and MySQL consisting of two pages: one page to input and store the data of schools, the other page
to fetch and display the data of the schools.
Detailed Instructions: MySQL Table:
schools
Data Fields:
id- int AUTO_INCREMENT name- text address- text city- text
state- text contact- number image- text email_id- text
Page 1: addSchool.jsx
Description: You have to create a form in next js (using react-hook-form) using which a user can
enter and store the data of a school in the `schools` table. The form needs to have validation on
inputs (for eg., email validation for email input) and also need to store the image of the school in a
folder `schoolImages`. The form should be responsive (work on both phones and desktop).
Page 2: showSchools.jsx
Description: You have to create a page that shows the list of schools in the database in the way an
ecommerce website shows products. Only the School’s name, address, city and image needs to be
visible here. For reference: https://uniformapp.in/schoolsearch.php. The page should be responsive
(work on both phones and desktop).
Submission Guidelines:
1. Create a new GitHub repo, make it public, commit and push the completed project into it.
2. Host the project on Vercel, Netlify or any other hosting platform of your choice.
3. Submit the assignment along with the URLs of both the GitHub repo and the hosted project.
4. The assignment starts as soon as you receive this.
5. No submissions will be accepted after the deadline.
6. All the best!