Code Monkey home page Code Monkey logo

CI

This is my personal website mattmayo.com (past version as I'm using postcard now)

This serves as a playground so that I can code and learn about web technologies and frameworks. While it is simple now, I plan to continue to add more content.

Some of the technologies used

  • Gatsby
    • Web application framework that serves as a foundation for the site
  • GitHub Actions
    • Continuous integration that includes linting, testing, and building the app
  • GitHub Pages
    • Securely hosts the web application for free
  • GraphQL
    • Allows retreiving different sizes for images to support responsive screens
  • ESLint
    • Static code analyzer to find and automatically fix code
  • Node.js
    • Web server and development environment for applications leveraging JavaScript or TypeScript languages
  • Node Version Manager (nvm)
    • Installs and provides tooling to support multilple versions of Node.js
  • PostCSS
    • Cascading style sheets (CSS) tooling
    • Helps with things like linting CSS and transpiling future CSS
  • Prettier
    • Code formatter for JavaScript and TypeScript
  • React
    • Library for building user interfaces via a simple component architecture
  • Tailwind CSS
    • CSS framework that is designed to reduce lines of code and ease styling
  • Typescript
    • Typed programming language that is a superset of JavaScript
  • Webpack

How to setup the development environment

  1. Install Node.js, the long term support (LTS) version.
    1. I recommend using nvm, but this is not required as long as you have Node.js installed.
    2. You will also be using Node Package Manager (npm), but this comes with Node, so it doesn't need to be installed explicitly.
  2. In your shell of choice execute the following command in the root directory
    npm install
  3. To run the application execute
    npm run start
  4. Navigate to http://localhost:8000 and voilà!

How to to deploy

Currently, the repo is not setup to deploy automatically and this will need to be done from a local workstation.

  1. If you haven't already, install packages.
    npm install
  2. To deploy from master execute
    npm run deploy
  3. Navigate to the repo settings page and update the Custom domain field to matt.mayo.com. This is required because deployment script resets this field to empty. TODO figure out why that happens.

There's still much to do! Here are few things.

  • Add search engine optimization (SEO)
  • Add tree shaking to reduce deployed artifcact sizes (JS bundles, CSS, etc)
  • Automate deployment using GitHub Actions
  • Add metrics for things like page visits
  • Add monitoring for when the site goes down, etc.
  • Add more content!

In progress work at Revamp Personal Website (2020) project space

Issues backlog via issues page

Matt Mayo's Projects

fastlane icon fastlane

Connect all iOS deployment tools into one streamlined workflow

helios icon helios

An extensible open-source mobile backend framework

ios-take-a-selfie icon ios-take-a-selfie

Sample application that takes a photo or allows a selection of a photo from the gallery using UIImagePickerController.

ios-transparent-modal icon ios-transparent-modal

Implementation of a modal with a transparent or blurred and tinted background. Compatible with iOS 7 and above.

it-admin icon it-admin

Scripts to streamline your IT administration adventures!

redux-form icon redux-form

A Higher Order Component using react-redux to keep form state in a Redux store

stophubby icon stophubby

Stop calling your husbands "hubby" goddammit

storybook icon storybook

Interactive UI component dev & test: React, React Native, Vue, Angular, Ember

try-nodejs icon try-nodejs

This is a playground for writing Typescript to run using Node.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.