In this homework assignment you are going to redo assignment three in Next.js.
Your application will have a back end that interacts directly with the MySQL database system. From your previous work for assignment three you should already have the database for that problem installed in MySQL. If you need to install the database you can go back to the problem statement for assignment three and follow the instructions there on how to install the database.
Here are some additional steps you will need to do to get everything set up for this project.
First, if you haven't already installed pnpm you can install it by running this command in a terminal:
npm i -g pnpm
Next, use this command to create the project folder for this assignment:
pnpm create next-app registration --template typescript
You can then open that new registration folder in Visual Studio Code.
Since you will be interacting with a MySQL database in this project you will also need to install the mysql2 package in your project. To do this, run this command in a terminal:
pnpm install mysql2@latest
When you get ready to submit your work for grading, compress the app folder inside the registration folder and upload that archive to Canvas.