Skip to content

Instantly share code, notes, and snippets.

View RaphaelBlehoue's full-sized avatar
🎯
Focusing

Raphael Blehoue RaphaelBlehoue

🎯
Focusing
View GitHub Profile
@RaphaelBlehoue
RaphaelBlehoue / package.json
Created March 4, 2021 23:48 — forked from coryhouse/package.json
Example of pre and post scripts in package.json
{
"name": "npm-scripts-example",
"version": "1.0.0",
"description": "npm scripts example",
"scripts": {
"prebuild": "echo I run before the build script",
"build": "cross-env NODE_ENV=production webpack",
"postbuild": "echo I run after the build script"
}
}
@RaphaelBlehoue
RaphaelBlehoue / DEPLOYMENT_AWS_NODEJS.md
Created October 20, 2020 13:39 — forked from mdang/DEPLOYMENT_AWS_NODEJS.md
Deploying Node.js apps to Amazon Web Services

Deploying Node.js apps to Amazon Web Services

This tutorial is for deploying Node.js applications to Amazon Web Services (AWS) using Elastic Beanstalk. Elastic Beanstalk is similar to Heroku in that it's a Platform as a Service (PaaS) that enables us to deploy code with little effort and manages the complexities of provisioning resources, auto scaling, monitoring and failover of infrastructure for us.

Requirements

AWS Account

  1. Go to the AWS Homepage
  2. Click the button Create an AWS Account
@RaphaelBlehoue
RaphaelBlehoue / regex.md
Created May 28, 2020 11:20 — forked from vitorbritto/regex.md
Regex Cheat Sheet

Regular Expressions

Basic Syntax

  • /.../: Start and end regex delimiters
  • |: Alternation
  • (): Grouping