Coder Social home page Coder Social logo

altitude's Introduction

Hey, I'm Chad Lew! ๐Ÿ‘‹

Welcome to my GitHub profile! I'm a Full Stack Web Developer and a graduate from the University of California, Irvine's (UCI) Coding Bootcamp. My journey into web development has been a fulfilling exploration of learning, creating, and constantly pushing boundaries.

LinkedIn

๐Ÿ”ฅ Applied Technologies ๐Ÿ†

TypeScript Nuxt.js Next.js React Vue Tailwind Bootstrap Express Node.js Nest MongoDB PostgreSQL CSS HTML Python Docker

altitude's People

Contributors

clew-bot avatar

Watchers

 avatar  avatar

altitude's Issues

Create CI/CD Workflow

Using GitHub Actions to achieve the build / package and deploy pipeline

Reference

https://github.com/marketplace/actions/deploy-to-heroku
https://dev.to/nipeshkc7/deploying-node-js-app-to-heroku-using-github-actions-3k7g

Create Credentials

heroku authorizations:create

Add credentials as Secrets to project

HEROKU_API_KEY =
HEROKU_APP_NAME =

Create the Action file

  1. Create a .github directory at top level
  2. Create a workflows directory inside that directory
  3. Create a file called deploy.yml
  4. Add the contents to the workflow file
  5. name: Deploy

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:

  deploy:
      name: Deploy
      runs-on: ubuntu-latest

      steps: 
        - name: Checkout
          uses: actions/checkout@v1

        - name: Add remote origin
          run: git remote add heroku https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/${{ secrets.HEROKU_APP_NAME }}.git

        - name: Deploy backend to heroku
          run: git push --force heroku `git subtree split --prefix server HEAD`:master
  1. Push the server file (which also hosts static assets)
  2. Create ecosystem file for Heroku config (ecosystem.config.js) at top level
module.exports = {
    apps : [{
      name: "matched-betting-tracker",
      script: "./index.js",
      instances: "max",
      env: {
        NODE_ENV: "development",
      },
      env_production: {
        NODE_ENV: "production",
      }
    }]
  }
  1. Add start scripts and PM2 to run processes in prod to package.json scripts section
   // Other scripts
   "heroku-prebuild": "npm install pm2 -g",
   "start": "pm2-runtime start ecosystem.config.js --env production"

Change Text Color of Menu Text, Slide in Menu and others

Hard to read the black text on the dark grey background. Try to take the background color and use a lighter version of it as the accent color for the font. Given it is dark mode, avoid White or getting close to it i.e #eee

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.