This document assumes that you are starting from a blank slate. Feel free to skip steps if you have certain software installed prior.
- Click on Fork to create your own repo and then click Create Fork.
- Download VSCode from the official website
-
Setting Git up is NOT a requirement for this workshop but if you think you will be doing anymore coding, this is great to have!
-
Create an account on GitHub
-
Install Git from the official website
- For Mac users, install Homebrew and then type
brew install giton the terminal.
- For Mac users, install Homebrew and then type
-
After installation, open Git Bash/(Terminal for Mac users) from your Start menu and type
git --versionto confirm -
Set up your username and email globally through these commands:
git config --global user.name "Your Name"git config --global user.email "your.email@example.com"
-
To work with GitHub on VSCode install GitHub Repositories from the Extensions tab and you'll see a Source Control icon on your navigation tab an an option to clone Git repository etc.
- For Windows users, install Node.js and npm LTS version
- For Mac users, using Homebrew
brew install node - Confirm installation by opening up a terminal (Command Prompt/Terminal) running
node -vandnpm -v
- IF you have Git and Github set up:
- Go to your Forked Repository on Github, Click on green Code button and copy the URL (using HTTPS or SSH)
- Open up VS Code and in the home page or under Source Control, click on Clone a Repository. Choose a directory to store your project on your local computer. You can also do the same from the command line using
git clone REPO_URL
- ELSE:
- On the top of this repository/ page, Click on green Code button and download the zip file.
- Extract the zip file and from VSCode click Open Folder and open up your Project!
- You will now see a local version of all the files/source code from GitHub.
- Install all packages by running opening a terminal on VSCode and running
npm install - To run the react frontend,
npm run dev - Your react app is now running on
localhost:PORT! You can follow the link from the terminal for the port number.
- This is an oversimplified version of a Personal Website. We'll start with building a simple Landing Page, move to a Navigation Bar and then finally a Projects Page and component!
- We cover creating Components in React, Props and a simple .map() function
- We will also be hosting Vercel to host (if you would like to deploy this project so others can view your website, you will need to have Github set up (Step 1b.))
I like starting from Figma when I build web apps. This is not a UI/UX course but if you are interested Figma is the best place to start!! (also, coolors for color palettes and dribble for design ideas)
This can help you start your own frontend from a blank repository