Project Instantiation Guide
At this point, you should have installed everything necessary to start the development of this project! If not, head back to the project setup page.
In this section, we won’t be creating any new content. We will simply set up our Integrated Development Environment (VS Code in this case) so that it’s ready for us to start creating our web application.
If you are attending Devday, there is no need to go any further at this point. We will be creating a fork of a starter project code that we already have set up for you. The only point in continuing the tutorial is to have an understanding of what to do on the actual day of the Hackathon (HackUTD 2025).
General File Directory Setup
Before we get into creating our first project, we want to make sure that we know where we’re building it. In this section, we will be creating a general folder that will house all of our future projects.
note: If you already have a dedicated folder for projects, you can skip this step.
Open up Visual Studio Code
Click on “File” in the top left corner and click on “Open Folder”
Navigate to wherever you want to create your new projects folder. Right-click in the file explorer to create a new folder to hold your project directory. *You can skip this step if you already have a folder dedicated to your projects.
- Do note that this folder will be the parent folder and will not be the folder of the actual project files for this tutorial specifically. This means that this folder should be titled something generic such as “Projects” or even simply choose your Desktop.
- When we run the commands in the future steps, we will be creating a new folder dedicated to the project itself.
At this point, your VS Code should be in the
projects/
folder that we had made previously.
Next.js
Go to this link or search up Next.js.
tipAn essential skill of a programmer is to become comfortable with reading documentation.
Click on "Get Started". Feel free to read through the features.
Click on
Installation
on the sidebar.Open up the terminal. You can find the button in the top bar of VS Code (as shown below). You could also use the shortcut:
ctrl
+shift
+ ` which is the backtick symbol (found below theEsc
key).In your terminal, run the following command:
npx create-next-app@latest devday_project
infoMake sure that you are in your
projects/
folder before running this command. For example, my terminal directory shows/Users/dayo/Desktop/projects/
. And if I run the command in this folder, then it will be creating a new folder as the following:/Users/dayo/Desktop/projects/devday_project/
.npx create-next-app
is the command that installs the project@latest
indicates the version we want to downloaddevday_project
is the title of the project. you can name it whatever you wantCopy this configuration for the installation.
At this point, there should be a new folder that contains your project boiler-plate.
Let's change our directory from the
projects/
and move into our project folder.- In your terminal, run the command:
cd devday_project
(or whatever you named it).
- In your terminal, run the command:
Now that we're inside of the project folder, we can run
npx run dev
which will run the project on our a server via our local machine.Click on the link to
localhost:3000
to see your website in action! It should look something like this:To shut off your development server, go back to the terminal and hit
ctrl
+c
. To spin the server back up, run in your terminal:npm run dev
again.
Congratulations
And just like that, you're ready to start building your first ever web application! We are so proud of you for making it to this point, and encourage you to take a mindful break. Happy coding!