covuworie / responsive-portfolio-website

Responsive Portfolio Website Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Responsive Portfolio Website

The code in this repository is based on Traversy Media's video tutorial on building a Responsive Portfolio Website. The aim of the tutorial is to build reusable CSS components with Sass that can be used throughout the website. Note that I use typescript here instead of javascript. However, the javascript is a minimal part of this tutorial as you will see in the video.

Prerequisites

  1. Install nodejs.
  2. Install Visual Studio Code (optional).

Running the code

  1. If you open up the code folder in Visual Studio Code you may be prompted to install the recommended extensions if you don't already have them installed. Go ahead and install these if you'ld like. They are Bracket Pair Colorizer 2, Live Server and Prettier. All these extensions are optional. The recommended extensions can be found in the extensions.json file in the .vscode directory should you wish to edit these. Likewise in the same directory you can find the settings.json file should you wish to edit the recommended settings.
  2. Run npm install to install the dependencies listed in the package.json file.
  3. Run npm run tsc in a terminal to perform live compilation of typescript to javascript. See the tsconfig.json file if you would live to change any of the typescript settings.
  4. Run npm run sass in a separate terminal to perform live compilation of SCSS to CSS.
  5. Open dist/index.html, right click on the text editor area and select Open With Live Server (or run your preferred development server) to launch the application in your default web browser.

Deploying the website

If you wish to deploy the website to Github pages then:

  1. Replace the github-username with your actual github username in the homepage value in the package.json file.
  2. Run npm run deploy from a terminal.
  3. Visit the URL in your browser to see the deployed website.

About

Responsive Portfolio Website Project

License:MIT License


Languages

Language:CSS 82.0%Language:TypeScript 18.0%